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

Diff of /trunk/finley/src/Mesh_rec4.c

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

revision 122 by jgs, Tue Oct 26 06:53:54 2004 UTC revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 21  Line 21 
21    
22  /**************************************************************/  /**************************************************************/
23    
24  Finley_Mesh* Finley_RectangularMesh_Rec4(int* numElements,double* Length,int* periodic, int order,int useElementsOnFace) {  Finley_Mesh* Finley_RectangularMesh_Rec4(dim_t* numElements,double* Length,bool_t* periodic, index_t order,bool_t useElementsOnFace) {
25    int N0,N1,NE0,NE1,i0,i1,k,node0,totalNECount,faceNECount,NDOF0,NDOF1,NFaceElements,NUMNODES;    dim_t N0,N1,NE0,NE1,i0,i1,totalNECount,faceNECount,NDOF0,NDOF1,NFaceElements,NUMNODES;
26      index_t k,node0;
27    Finley_Mesh* out;    Finley_Mesh* out;
28    char name[50];    char name[50];
29    double time0=Finley_timer();    double time0=Finley_timer();
# Line 121  Finley_Mesh* Finley_RectangularMesh_Rec4 Line 122  Finley_Mesh* Finley_RectangularMesh_Rec4
122    
123      }      }
124    }    }
125    out->Elements->numColors=COLOR_MOD(0)+3*COLOR_MOD(0)+1;    out->Elements->minColor=0;
126      out->Elements->maxColor=COLOR_MOD(0)+3*COLOR_MOD(0);
127        
128    /*   face elements: */    /*   face elements: */
129        
# Line 230  Finley_Mesh* Finley_RectangularMesh_Rec4 Line 232  Finley_Mesh* Finley_RectangularMesh_Rec4
232       totalNECount+=NE1;       totalNECount+=NE1;
233       faceNECount+=NE1;       faceNECount+=NE1;
234    }    }
235    out->FaceElements->numColors=8;    out->FaceElements->minColor=0;
236      out->FaceElements->maxColor=7;
237    
238    /*  face elements done: */    /*  face elements done: */
239        
# Line 253  Finley_Mesh* Finley_RectangularMesh_Rec4 Line 256  Finley_Mesh* Finley_RectangularMesh_Rec4
256    
257  /*  /*
258  * $Log$  * $Log$
259  * Revision 1.1  2004/10/26 06:53:57  jgs  * Revision 1.2  2005/07/08 04:07:54  jgs
260  * Initial revision  * Merge of development branch back to main trunk on 2005-07-08
261    *
262    * Revision 1.1.1.1.2.1  2005/06/29 02:34:53  gross
263    * some changes towards 64 integers in finley
264    *
265    * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
266    * initial import of project esys2
267  *  *
268  * Revision 1.1.1.1  2004/06/24 04:00:40  johng  * Revision 1.1.1.1  2004/06/24 04:00:40  johng
269  * Initial version of eys using boost-python.  * Initial version of eys using boost-python.

Legend:
Removed from v.122  
changed lines
  Added in v.123

  ViewVC Help
Powered by ViewVC 1.1.26