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

Diff of /trunk/esys2/finley/src/finleyC/Mesh_joinFaces.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 47  void Finley_Mesh_joinFaces(Finley_Mesh* Line 47  void Finley_Mesh_joinFaces(Finley_Mesh*
47     }     }
48    
49     /* allocate work arrays */     /* allocate work arrays */
50     elem1=TMPMEMALLOC(self->FaceElements->numElements,int);     elem1=(int*) TMPMEMALLOC(sizeof(int)*self->FaceElements->numElements);
51     elem0=TMPMEMALLOC(self->FaceElements->numElements,int);     elem0=(int*) TMPMEMALLOC(sizeof(int)*self->FaceElements->numElements);
52     elem_mask=TMPMEMALLOC(self->FaceElements->numElements,int);     elem_mask=(int*) TMPMEMALLOC(sizeof(int)*self->FaceElements->numElements);
53     matching_nodes_in_elem1=TMPMEMALLOC(self->FaceElements->numElements*NN,int);     matching_nodes_in_elem1=(int*) TMPMEMALLOC(sizeof(int)*self->FaceElements->numElements*NN);
54    
55     if (!(Finley_checkPtr(elem1) || Finley_checkPtr(elem0) || Finley_checkPtr(elem_mask) || Finley_checkPtr(matching_nodes_in_elem1)))  {     if (!(Finley_checkPtr(elem1) || Finley_checkPtr(elem0) || Finley_checkPtr(elem_mask) || Finley_checkPtr(matching_nodes_in_elem1)))  {
56        /* find the matching face elements */        /* find the matching face elements */
# Line 125  void Finley_Mesh_joinFaces(Finley_Mesh* Line 125  void Finley_Mesh_joinFaces(Finley_Mesh*
125    
126  /*  /*
127  * $Log$  * $Log$
128  * Revision 1.2  2004/12/14 05:39:30  jgs  * Revision 1.3  2004/12/15 03:48:45  jgs
129  * *** empty log message ***  * *** empty log message ***
130  *  *
 * 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  
 *  
131  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
132  * initial import of project esys2  * initial import of project esys2
133  *  *

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

  ViewVC Help
Powered by ViewVC 1.1.26