Changeset 15658
- Timestamp:
- 07/31/13 16:46:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateNodes.cpp
r15657 r15658 169 169 for(i=0;i<iomodel->numberofvertices;i++){ 170 170 if(iomodel->my_vertices[i]){ 171 if(IssmComm::GetRank()==0) printf("Creating node id %i\n",iomodel->nodecounter+i+1);172 171 nodes->AddObject(new Node(iomodel->nodecounter+i+1,i,i,iomodel,analysis,FSvelocityEnum)); 173 172 } … … 175 174 for(i=0;i<iomodel->numberofedges;i++){ 176 175 if(my_edges[i]){ 177 if(IssmComm::GetRank()==0) printf("Creating node id %i\n",iomodel->nodecounter+iomodel->numberofvertices+i+1);178 176 nodes->AddObject(new Node(iomodel->nodecounter+iomodel->numberofvertices+i+1,iomodel->numberofvertices+i,0,iomodel,analysis,FSvelocityEnum)); 179 177 } … … 183 181 for(i=0;i<iomodel->numberofvertices;i++){ 184 182 if(iomodel->my_vertices[i]){ 185 if(IssmComm::GetRank()==0) printf("Creating node id %i\n",iomodel->nodecounter+iomodel->numberofvertices+iomodel->numberofedges+i+1);186 183 nodes->AddObject(new Node(iomodel->nodecounter+iomodel->numberofvertices+iomodel->numberofedges+i+1,iomodel->numberofvertices+iomodel->numberofedges+i,i,iomodel,analysis,FSpressureEnum)); 187 184 }
Note:
See TracChangeset
for help on using the changeset viewer.