- Timestamp:
- 07/03/13 16:46:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/ModelProcessorx/NodesPartitioning.cpp
r15000 r15423 59 59 * ids. */ 60 60 61 int i,j;62 int dim;63 64 61 /*output: */ 65 62 bool* my_nodes=NULL; 66 63 67 int i 1,i2;64 int i,i1,i2; 68 65 int cols; 69 66 int e1,e2; … … 72 69 int *edges = NULL; 73 70 int *elements = NULL; 74 75 /*Fetch parameters: */76 iomodel->Constant(&dim,MeshDimensionEnum);77 71 78 72 /*Build discontinuous node partitioning … … 89 83 90 84 /*First: add all the nodes of all the elements belonging to this cpu*/ 91 if ( dim==2){85 if (iomodel->dim==2){ 92 86 for (i=0;i<numberofelements;i++){ 93 87 if (my_elements[i]){ … … 129 123 /*2: Get the column where these ids are located in the index*/ 130 124 pos=UNDEF; 131 for( j=0;j<3;j++){125 for(int j=0;j<3;j++){ 132 126 if (elements[3*e2+j]==i1) pos=j; 133 127 }
Note:
See TracChangeset
for help on using the changeset viewer.