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

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

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

revision 96 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 97 by jgs, Tue Dec 14 05:39:33 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=(maybelong*) MEMALLOC(numElements*sizeof(maybelong));    Id2=MEMALLOC(numElements,maybelong);
31    Nodes2=(maybelong*) MEMALLOC(numElements*numNodes*sizeof(maybelong));    Nodes2=MEMALLOC(numElements*numNodes,maybelong);
32    Tag2=(maybelong*) MEMALLOC(numElements*sizeof(maybelong));    Tag2=MEMALLOC(numElements,maybelong);
33    Color2=(maybelong*) MEMALLOC(numElements*sizeof(maybelong));    Color2=MEMALLOC(numElements,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.1  2004/10/26 06:53:57  jgs  * Revision 1.2  2004/12/14 05:39:30  jgs
78  * Initial revision  * *** empty log message ***
79    *
80    * Revision 1.1.1.1.2.1  2004/11/24 01:37:13  gross
81    * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now
82    *
83    * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
84    * initial import of project esys2
85  *  *
86  * Revision 1.1.1.1  2004/06/24 04:00:40  johng  * Revision 1.1.1.1  2004/06/24 04:00:40  johng
87  * Initial version of eys using boost-python.  * Initial version of eys using boost-python.

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

  ViewVC Help
Powered by ViewVC 1.1.26