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

Diff of /trunk/finley/src/Mesh_rec8.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 123 by jgs, Fri Jul 8 04:08:13 2005 UTC
# Line 21  Line 21 
21  /**************************************************************/  /**************************************************************/
22    
23  Finley_Mesh* Finley_RectangularMesh_Rec8(int* numElements,double* Length,int* periodic,int order,int useElementsOnFace) {  Finley_Mesh* Finley_RectangularMesh_Rec8(int* numElements,double* Length,int* periodic,int order,int useElementsOnFace) {
24    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;
25      index_t k,node0;
26    Finley_Mesh* out;    Finley_Mesh* out;
27    char name[50];    char name[50];
28    double time0=Finley_timer();    double time0=Finley_timer();
# Line 124  Finley_Mesh* Finley_RectangularMesh_Rec8 Line 125  Finley_Mesh* Finley_RectangularMesh_Rec8
125    
126      }      }
127    }    }
128    out->Elements->numColors=COLOR_MOD(0)+3*COLOR_MOD(0)+1;    out->Elements->minColor=0;
129      out->Elements->maxColor=COLOR_MOD(0)+3*COLOR_MOD(0);
130        
131    /*   face elements: */    /*   face elements: */
132    if (useElementsOnFace) {    if (useElementsOnFace) {
# Line 256  Finley_Mesh* Finley_RectangularMesh_Rec8 Line 258  Finley_Mesh* Finley_RectangularMesh_Rec8
258       faceNECount+=NE1;       faceNECount+=NE1;
259    
260    }    }
261    out->FaceElements->numColors=8;    out->FaceElements->minColor=0;
262      out->FaceElements->maxColor=7;
263    
264    /*  face elements done: */    /*  face elements done: */
265        
# Line 279  Finley_Mesh* Finley_RectangularMesh_Rec8 Line 282  Finley_Mesh* Finley_RectangularMesh_Rec8
282    
283  /*  /*
284  * $Log$  * $Log$
285  * Revision 1.1  2004/10/26 06:53:57  jgs  * Revision 1.2  2005/07/08 04:07:54  jgs
286  * Initial revision  * Merge of development branch back to main trunk on 2005-07-08
287    *
288    * Revision 1.1.1.1.2.1  2005/06/29 02:34:53  gross
289    * some changes towards 64 integers in finley
290    *
291    * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
292    * initial import of project esys2
293  *  *
294  * Revision 1.1.1.1  2004/06/24 04:00:40  johng  * Revision 1.1.1.1  2004/06/24 04:00:40  johng
295  * Initial version of eys using boost-python.  * Initial version of eys using boost-python.

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

  ViewVC Help
Powered by ViewVC 1.1.26