Changeset 9356 for issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/CreateNodesDiagnosticVert.cpp
- Timestamp:
- 08/19/11 18:04:03 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/CreateNodesDiagnosticVert.cpp
r9340 r9356 18 18 int i; 19 19 bool continuous_galerkin=true; 20 int dim; 21 int numberofvertices; 20 22 21 23 /*DataSets: */ 22 24 Nodes* nodes = NULL; 25 26 /*Fetch parameters: */ 27 iomodel->parameters->FindParam(&dim,DimEnum); 28 iomodel->parameters->FindParam(&numberofvertices,NumberOfVerticesEnum); 23 29 24 30 /*Recover pointer: */ … … 29 35 30 36 /*Now, is the flag macayaealpattyn on? otherwise, do nothing: */ 31 if ( iomodel->dim==2)goto cleanup_and_return;37 if (dim==2)goto cleanup_and_return; 32 38 33 39 /*Continuous Galerkin partition of nodes: */ … … 42 48 iomodel->FetchData(&iomodel->nodeonwater,NULL,NULL,NodeOnWaterEnum); 43 49 44 for (i=0;i< iomodel->numberofvertices;i++){50 for (i=0;i<numberofvertices;i++){ 45 51 46 52 if(iomodel->my_vertices[i]){
Note:
See TracChangeset
for help on using the changeset viewer.