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

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

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

revision 82 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 97 by jgs, Tue Dec 14 05:39:33 2004 UTC
# Line 61  void  Finley_Mesh_resolveNodeIds(Finley_ Line 61  void  Finley_Mesh_resolveNodeIds(Finley_
61    newNodeFile=Finley_NodeFile_alloc(numDim);    newNodeFile=Finley_NodeFile_alloc(numDim);
62    if (Finley_ErrorCode!=NO_ERROR) goto clean;    if (Finley_ErrorCode!=NO_ERROR) goto clean;
63    
64    maskNodes=(maybelong*)TMPMEMALLOC(len*sizeof(maybelong));    maskNodes=TMPMEMALLOC(len,maybelong);
65    if (Finley_checkPtr(maskNodes)) goto clean;    if (Finley_checkPtr(maskNodes)) goto clean;
66    
67    maskElements=(maybelong*)TMPMEMALLOC(len*sizeof(maybelong));    maskElements=TMPMEMALLOC(len,maybelong);
68    if (Finley_checkPtr(maskElements)) goto clean;    if (Finley_checkPtr(maskElements)) goto clean;
69    
70    index=(maybelong*)TMPMEMALLOC(in->Nodes->numNodes*sizeof(maybelong));    index=TMPMEMALLOC(in->Nodes->numNodes,maybelong);
71    if (Finley_checkPtr(maskElements)) goto clean;    if (Finley_checkPtr(maskElements)) goto clean;
72    
73    Finley_NodeFile_allocTable(newNodeFile,len);    Finley_NodeFile_allocTable(newNodeFile,len);
# Line 137  void  Finley_Mesh_resolveNodeIds(Finley_ Line 137  void  Finley_Mesh_resolveNodeIds(Finley_
137    
138  /*  /*
139  * $Log$  * $Log$
140  * Revision 1.1  2004/10/26 06:53:57  jgs  * Revision 1.2  2004/12/14 05:39:30  jgs
141  * Initial revision  * *** empty log message ***
142    *
143    * Revision 1.1.1.1.2.1  2004/11/24 01:37:14  gross
144    * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now
145    *
146    * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
147    * initial import of project esys2
148  *  *
149  * Revision 1.1.1.1  2004/06/24 04:00:40  johng  * Revision 1.1.1.1  2004/06/24 04:00:40  johng
150  * Initial version of eys using boost-python.  * Initial version of eys using boost-python.

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

  ViewVC Help
Powered by ViewVC 1.1.26