Changeset 16539 for issm/trunk-jpl/src/c/modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp
- Timestamp:
- 10/24/13 10:12:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp ¶
r16334 r16539 19 19 int i; 20 20 21 int my_rank; 22 int num_procs; 21 const int RIFTINFOSIZE = 12; 23 22 int numberofelements2d; 24 23 int numberofvertices2d; … … 41 40 42 41 /*Get my_rank:*/ 43 my_rank = IssmComm::GetRank();44 num_procs = IssmComm::GetSize();42 int my_rank = IssmComm::GetRank(); 43 int num_procs = IssmComm::GetSize(); 45 44 46 45 /*Fetch parameters: */ 47 48 46 iomodel->Constant(&numrifts,RiftsNumriftsEnum); 49 47 50 48 /*First, check that partitioning has not yet been carryed out. Just check whether my_elements pointers is not already assigned a value: */ 51 if 49 if(*pmy_elements)return; 52 50 53 51 /*Number of vertices per elements, needed to correctly retrieve data: */
Note:
See TracChangeset
for help on using the changeset viewer.