- Timestamp:
- 04/09/14 13:15:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/MeshPartitionx/MeshPartitionx.h
r17686 r17692 11 11 template <class doubletype> 12 12 int MeshPartitionx(int** pepart, int** pnpart, int numberofelements,int numberofnodes,int* elements, 13 int numberofelements2d,int numberofnodes2d,doubletype* elements2d,int numlayers,int elements_width, int domaintype,int num_procs){13 int numberofelements2d,int numberofnodes2d,doubletype* elements2d,int numlayers,int elements_width, int meshelementtype,int num_procs){ 14 14 15 15 int noerr=1; … … 31 31 int edgecut=1; 32 32 33 switch(domaintype){ 34 case Mesh2DhorizontalEnum: 35 case Mesh2DverticalEnum: 36 case Mesh3DtetrasEnum: 33 switch(meshelementtype){ 34 case TriaEnum: 35 case TetraEnum: 37 36 epart=xNew<int>(numberofelements); 38 37 npart=xNew<int>(numberofnodes); … … 59 58 else _error_("At least one processor is required"); 60 59 break; 61 case Mesh3DEnum:60 case PentaEnum: 62 61 /*We have a 3d mesh, made of a regularly extruded 2d mesh. We first partition the 2d mesh, then we extrude the partition: */ 63 62 … … 111 110 break; 112 111 default: 113 _error_("mesh type "<<EnumToStringx( domaintype)<<" not supported yet");112 _error_("mesh type "<<EnumToStringx(meshelementtype)<<" not supported yet"); 114 113 } 115 114
Note:
See TracChangeset
for help on using the changeset viewer.