/[escript]/branches/domexper/dudley/src/Mesh_tet4.c
ViewVC logotype

Diff of /branches/domexper/dudley/src/Mesh_tet4.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    
24  Finley_Mesh* Finley_RectangularMesh_Hex8(int* numElements,double* Length,int* periodic, int order,int useElementsOnFace) {  Finley_Mesh* Finley_RectangularMesh_Hex8(dim_t* numElements,double* Length,bool_t* periodic, index_t order,bool_t useElementsOnFace) {
25    int N0,N1,N2,NE0,NE1,NE2,i0,i1,i2,k,node0,totalNECount,faceNECount,NDOF0,NDOF1,NDOF2,NFaceElements,NUMNODES;    dim_t N0,N1,N2,NE0,NE1,NE2,i0,i1,i2,k,totalNECount,faceNECount,NDOF0,NDOF1,NDOF2,NFaceElements,NUMNODES;
26      index_t 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 151  Finley_Mesh* Finley_RectangularMesh_Hex8 Line 152  Finley_Mesh* Finley_RectangularMesh_Hex8
152        }        }
153      }      }
154    }    }
155    out->Elements->numColors=COLOR_MOD(0)+3*COLOR_MOD(0)+9*COLOR_MOD(0)+1;    out->Elements->minColor=0;
156      out->Elements->maxColor=COLOR_MOD(0)+3*COLOR_MOD(0)+9*COLOR_MOD(0);
157        
158    /*   face elements: */    /*   face elements: */
159        
# Line 362  Finley_Mesh* Finley_RectangularMesh_Hex8 Line 364  Finley_Mesh* Finley_RectangularMesh_Hex8
364       totalNECount+=NE0*NE2;       totalNECount+=NE0*NE2;
365       faceNECount+=NE0*NE2;       faceNECount+=NE0*NE2;
366    }    }
367    out->FaceElements->numColors=24;    out->FaceElements->minColor=0;
368      out->FaceElements->maxColor=23;
369        
370    /*  face elements done: */    /*  face elements done: */
371        
# Line 384  Finley_Mesh* Finley_RectangularMesh_Hex8 Line 387  Finley_Mesh* Finley_RectangularMesh_Hex8
387    
388  /*  /*
389  * $Log$  * $Log$
390  * Revision 1.1  2004/10/26 06:53:57  jgs  * Revision 1.2  2005/07/08 04:07:52  jgs
391  * Initial revision  * Merge of development branch back to main trunk on 2005-07-08
392    *
393    * Revision 1.1.1.1.2.1  2005/06/29 02:34:52  gross
394    * some changes towards 64 integers in finley
395    *
396    * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
397    * initial import of project esys2
398  *  *
399  * Revision 1.1.1.1  2004/06/24 04:00:40  johng  * Revision 1.1.1.1  2004/06/24 04:00:40  johng
400  * 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