Changeset 4495
- Timestamp:
- 07/09/10 08:07:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/ModelProcessorx/Balancedthickness2/CreateLoadsBalancedthickness2.cpp
r4236 r4495 15 15 /*Intermediary*/ 16 16 int i; 17 int element; 17 18 18 19 /*Output*/ … … 32 33 /*First load data:*/ 33 34 for (i=0;i<iomodel->numberofedges;i++){ 35 36 /*Get left and right elements*/ 37 element=(int)iomodel->edges[4*i+2]-1; //edges are [node1 node2 elem1 elem2] 38 39 /*Now, if this element is not in the partition, pass: */ 40 if(!iomodel->my_elements[element]) continue; 41 42 /* Add load */ 34 43 loads->AddObject(new Numericalflux(iomodel->loadcounter+i+1,i,iomodel,Balancedthickness2AnalysisEnum)); 35 44 }
Note:
See TracChangeset
for help on using the changeset viewer.