/[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 101 by jgs, Wed Dec 15 03:48:48 2004 UTC revision 102 by jgs, Wed Dec 15 07:08:39 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.3  2004/12/15 03:48:45  jgs  * Revision 1.4  2004/12/15 07:08:32  jgs
78  * *** empty log message ***  * *** empty log message ***
79  *  *
 * Revision 1.1.1.1  2004/10/26 06:53:57  jgs  
 * initial import of project esys2  
 *  
 * Revision 1.1.1.1  2004/06/24 04:00:40  johng  
 * Initial version of eys using boost-python.  
80  *  *
81  *  *
82  */  */

Legend:
Removed from v.101  
changed lines
  Added in v.102

  ViewVC Help
Powered by ViewVC 1.1.26