Changeset 17674 for issm/trunk-jpl/src/c/modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp
- Timestamp:
- 04/08/14 14:59:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp
r17487 r17674 51 51 /*Number of vertices per elements, needed to correctly retrieve data: */ 52 52 /*Determine parallel partitioning of elements: we use Metis for now. First load the data, then partition*/ 53 switch(iomodel->mesh type){53 switch(iomodel->meshxdim){ 54 54 case Mesh2DhorizontalEnum: 55 55 elements_width=3; … … 81 81 } 82 82 83 MeshPartitionx(&epart,&npart,iomodel->numberofelements,iomodel->numberofvertices,iomodel->elements,numberofelements2d,numberofvertices2d,elements2d,numlayers,elements_width,iomodel->mesh type,num_procs);83 MeshPartitionx(&epart,&npart,iomodel->numberofelements,iomodel->numberofvertices,iomodel->elements,numberofelements2d,numberofvertices2d,elements2d,numlayers,elements_width,iomodel->meshxdim,num_procs); 84 84 85 85 /*Free elements2d: */
Note:
See TracChangeset
for help on using the changeset viewer.