/[escript]/trunk/finley/src/finleyC/ElementFile_allocTable.c
ViewVC logotype

Diff of /trunk/finley/src/finleyC/ElementFile_allocTable.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 97 by jgs, Tue Dec 14 05:39:33 2004 UTC revision 100 by jgs, Wed Dec 15 03:48:48 2004 UTC
# Line 27  void Finley_ElementFile_allocTable(Finle Line 27  void Finley_ElementFile_allocTable(Finle
27    /*  allocate memory: */    /*  allocate memory: */
28        
29    numNodes=(maybelong) in->ReferenceElement->Type->numNodes;    numNodes=(maybelong) in->ReferenceElement->Type->numNodes;
30    Id2=MEMALLOC(numElements,maybelong);    Id2=(maybelong*) MEMALLOC(numElements*sizeof(maybelong));
31    Nodes2=MEMALLOC(numElements*numNodes,maybelong);    Nodes2=(maybelong*) MEMALLOC(numElements*numNodes*sizeof(maybelong));
32    Tag2=MEMALLOC(numElements,maybelong);    Tag2=(maybelong*) MEMALLOC(numElements*sizeof(maybelong));
33    Color2=MEMALLOC(numElements,maybelong);    Color2=(maybelong*) MEMALLOC(numElements*sizeof(maybelong));
34        
35    /*  if fine, deallocate the old table and replace by new: */    /*  if fine, deallocate the old table and replace by new: */
36        
# Line 74  void Finley_ElementFile_deallocTable(Fin Line 74  void Finley_ElementFile_deallocTable(Fin
74    
75  /*  /*
76  * $Log$  * $Log$
77  * Revision 1.2  2004/12/14 05:39:30  jgs  * Revision 1.3  2004/12/15 03:48:45  jgs
78  * *** empty log message ***  * *** empty log message ***
79  *  *
 * Revision 1.1.1.1.2.1  2004/11/24 01:37:13  gross  
 * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now  
 *  
80  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
81  * initial import of project esys2  * initial import of project esys2
82  *  *

Legend:
Removed from v.97  
changed lines
  Added in v.100

  ViewVC Help
Powered by ViewVC 1.1.26