Changeset 4121
- Timestamp:
- 06/22/10 14:28:41 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateNodesDiagnosticHoriz.cpp ¶
r4117 r4121 17 17 /*Intermediary*/ 18 18 int i; 19 int totalnodes;20 19 bool continuous_galerkin=true; 21 20 … … 28 27 /*Now, is the flag macayaealpattyn on? otherwise, do nothing: */ 29 28 if (!iomodel->ismacayealpattyn)goto cleanup_and_return; 30 31 /*Recover number of nodes already created in other analyses: */32 totalnodes=iomodel->nodecounter;33 29 34 30 /*Continuous Galerkin partition of nodes: */ … … 51 47 52 48 /*Add node to nodes dataset: */ 53 nodes->AddObject(new Node( totalnodes+i+1,i+1,i,iomodel,DiagnosticHorizAnalysisEnum));49 nodes->AddObject(new Node(iomodel->nodecounter+i+1,i+1,i,iomodel,DiagnosticHorizAnalysisEnum)); 54 50 } 55 51 } 56 57 /*Increase nodecounter for other analyses to start their node indexing correctly: */58 totalnodes+=iomodel->numberofvertices;59 iomodel->nodecounter=totalnodes;60 52 61 53 /*Clean fetched data: */
Note:
See TracChangeset
for help on using the changeset viewer.