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

Diff of /trunk/finley/src/Mesh_resolveNodeIds.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 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=TMPMEMALLOC(len,maybelong);    maskNodes=(maybelong*)TMPMEMALLOC(len*sizeof(maybelong));
65    if (Finley_checkPtr(maskNodes)) goto clean;    if (Finley_checkPtr(maskNodes)) goto clean;
66    
67    maskElements=TMPMEMALLOC(len,maybelong);    maskElements=(maybelong*)TMPMEMALLOC(len*sizeof(maybelong));
68    if (Finley_checkPtr(maskElements)) goto clean;    if (Finley_checkPtr(maskElements)) goto clean;
69    
70    index=TMPMEMALLOC(in->Nodes->numNodes,maybelong);    index=(maybelong*)TMPMEMALLOC(in->Nodes->numNodes*sizeof(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.2  2004/12/14 05:39:30  jgs  * Revision 1.3  2004/12/15 03:48:45  jgs
141  * *** empty log message ***  * *** empty log message ***
142  *  *
 * Revision 1.1.1.1.2.1  2004/11/24 01:37:14  gross  
 * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now  
 *  
143  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
144  * initial import of project esys2  * initial import of project esys2
145  *  *

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

  ViewVC Help
Powered by ViewVC 1.1.26