- Timestamp:
- 11/16/12 08:10:16 (12 years ago)
- Location:
- issm/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 13397-13398,13401,13407-13582,13584-13974
- Property svn:mergeinfo changed
-
issm/trunk/src
- Property svn:mergeinfo changed
-
issm/trunk/src/c/modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp
r13395 r13975 22 22 int i; 23 23 24 externint my_rank;25 externint num_procs;24 int my_rank; 25 int num_procs; 26 26 int numberofelements; 27 27 int numberofvertices; … … 46 46 IssmDouble* riftinfo=NULL; 47 47 IssmDouble* vertex_pairing=NULL; 48 49 /*Get my_rank:*/ 50 my_rank=IssmComm::GetRank(); 51 num_procs=IssmComm::GetSize(); 48 52 49 53 /*Fetch parameters: */ … … 102 106 103 107 my_elements[i]=true; 104 108 105 109 /*Now that we are here, we can also start building the list of vertices belonging to this cpu partition: we use 106 110 *the element index to do this. For each element n, we know index[n][0:2] holds the indices (matlab indexing) … … 110 114 my_vertices[reCast<int>(*(elements+elements_width*i+1))-1]=1; 111 115 my_vertices[reCast<int>(*(elements+elements_width*i+2))-1]=1; 112 116 113 117 if(elements_width==6){ 114 118 my_vertices[reCast<int>(*(elements+elements_width*i+3))-1]=1;
Note:
See TracChangeset
for help on using the changeset viewer.