Changeset 1734
- Timestamp:
- 08/17/09 17:06:16 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/ModelProcessorx/DiagnosticHoriz/CreateElementsNodesAndMaterialsDiagnosticHoriz.cpp
r1651 r1734 181 181 /*Deal with rifts, they have to be included into one partition only, not several: */ 182 182 ModelFetchData((void**)&model->riftinfo,&model->numrifts,NULL,model_handle,"riftinfo","Matrix","Mat"); 183 183 184 184 for(i=0;i<model->numrifts;i++){ 185 el1=(int)*(model->riftinfo+9* j+2)-1; //matlab indexing to c indexing186 el2=(int)*(model->riftinfo+9* j+3)-1; //matlab indexing to c indexing185 el1=(int)*(model->riftinfo+9*i+2)-1; //matlab indexing to c indexing 186 el2=(int)*(model->riftinfo+9*i+3)-1; //matlab indexing to c indexing 187 187 epart[el2]=epart[el1]; //ensures that this pair of elements will be in the same partition, as well as the corresponding grids; 188 188 }
Note:
See TracChangeset
for help on using the changeset viewer.