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

Diff of /trunk/finley/src/Mesh_hex20.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 22  Line 22 
22    
23  /**************************************************************/  /**************************************************************/
24    
25  Finley_Mesh* Finley_RectangularMesh_Hex20(int* numElements,double* Length,int* periodic,int order,int useElementsOnFace) {  Finley_Mesh* Finley_RectangularMesh_Hex20(dim_t* numElements,double* Length,bool_t* periodic,index_t order,bool_t useElementsOnFace) {
26    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;
27      index_t node0;
28    Finley_Mesh* out;    Finley_Mesh* out;
29    char name[50];    char name[50];
30    double time0=Finley_timer();    double time0=Finley_timer();
# Line 163  Finley_Mesh* Finley_RectangularMesh_Hex2 Line 164  Finley_Mesh* Finley_RectangularMesh_Hex2
164        }        }
165      }      }
166    }    }
167    out->Elements->numColors=COLOR_MOD(0)+3*COLOR_MOD(0)+9*COLOR_MOD(0)+1;    out->Elements->minColor=0;
168      out->Elements->maxColor=COLOR_MOD(0)+3*COLOR_MOD(0)+9*COLOR_MOD(0);
169        
170    /*   face elements: */    /*   face elements: */
171        
# Line 491  Finley_Mesh* Finley_RectangularMesh_Hex2 Line 493  Finley_Mesh* Finley_RectangularMesh_Hex2
493       totalNECount+=NE0*NE2;       totalNECount+=NE0*NE2;
494       faceNECount+=NE0*NE2;       faceNECount+=NE0*NE2;
495    }    }
496    out->FaceElements->numColors=24;    out->FaceElements->minColor=0;
497      out->FaceElements->maxColor=24;
498    
499    /*  face elements done: */    /*  face elements done: */
500        
# Line 513  Finley_Mesh* Finley_RectangularMesh_Hex2 Line 516  Finley_Mesh* Finley_RectangularMesh_Hex2
516    
517  /*  /*
518  * $Log$  * $Log$
519  * Revision 1.1  2004/10/26 06:53:57  jgs  * Revision 1.2  2005/07/08 04:07:52  jgs
520  * Initial revision  * Merge of development branch back to main trunk on 2005-07-08
521    *
522    * Revision 1.1.1.1.2.1  2005/06/29 02:34:51  gross
523    * some changes towards 64 integers in finley
524    *
525    * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
526    * initial import of project esys2
527  *  *
528  * Revision 1.1.1.1  2004/06/24 04:00:40  johng  * Revision 1.1.1.1  2004/06/24 04:00:40  johng
529  * 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