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

Diff of /trunk/esys2/finley/src/finleyC/NodeFile_allocTable.c

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

revision 99 by jgs, Tue Dec 14 05:39:33 2004 UTC revision 100 by jgs, Wed Dec 15 03:48:48 2004 UTC
# Line 26  void Finley_NodeFile_allocTable(Finley_N Line 26  void Finley_NodeFile_allocTable(Finley_N
26        
27    /*  allocate memory: */    /*  allocate memory: */
28        
29    Id2=MEMALLOC(numNodes,maybelong);    Id2=(maybelong*) MEMALLOC(numNodes*sizeof(maybelong));
30    Coordinates2=MEMALLOC(numNodes*in->numDim,double);    Coordinates2=(double*) MEMALLOC(numNodes*in->numDim*sizeof(double));
31    Tag2=MEMALLOC(numNodes,maybelong);    Tag2=(maybelong*) MEMALLOC(numNodes*sizeof(maybelong));
32    degreeOfFreedom2=MEMALLOC(numNodes,maybelong);    degreeOfFreedom2=(maybelong*) MEMALLOC(numNodes*sizeof(maybelong));
33    reducedDegreeOfFreedom2=MEMALLOC(numNodes,maybelong);    reducedDegreeOfFreedom2=(maybelong*) MEMALLOC(numNodes*sizeof(maybelong));
34    toReduced2=MEMALLOC(numNodes,maybelong);    toReduced2=(maybelong*) MEMALLOC(numNodes*sizeof(maybelong));
35        
36    /*  if fine, deallocate the old table and replace by new: */    /*  if fine, deallocate the old table and replace by new: */
37        
# Line 87  void Finley_NodeFile_deallocTable(Finley Line 87  void Finley_NodeFile_deallocTable(Finley
87  }  }
88  /*  /*
89  * $Log$  * $Log$
90  * Revision 1.2  2004/12/14 05:39:30  jgs  * Revision 1.3  2004/12/15 03:48:45  jgs
91  * *** empty log message ***  * *** empty log message ***
92  *  *
 * Revision 1.1.1.1.2.1  2004/11/24 01:37:15  gross  
 * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now  
 *  
93  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
94  * initial import of project esys2  * initial import of project esys2
95  *  *

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

  ViewVC Help
Powered by ViewVC 1.1.26