Changeset 17795
- Timestamp:
- 04/21/14 16:00:38 (11 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r17759 r17795 2498 2498 break; 2499 2499 case OneLayerP4zEnum: 2500 numnodes = 30+ 12;2500 numnodes = 30+6; 2501 2501 penta_node_ids = xNew<int>(numnodes); 2502 2502 penta_node_ids[ 0]=iomodel->nodecounter+iomodel->elements[6*index+0]; /*Vertex 1*/ … … 2537 2537 penta_node_ids[34]=iomodel->nodecounter+iomodel->numberofvertices+3*iomodel->numberofedges+3*iomodel->numberoffaces+iomodel->elements[6*index+4]; 2538 2538 penta_node_ids[35]=iomodel->nodecounter+iomodel->numberofvertices+3*iomodel->numberofedges+3*iomodel->numberoffaces+iomodel->elements[6*index+5]; 2539 penta_node_ids[36]=iomodel->nodecounter+iomodel->numberofvertices+3*iomodel->numberofedges+3*iomodel->numberoffaces+iomodel->numberofvertices+2*iomodel->elementtoedgeconnectivity[9*index+0]+1;2540 penta_node_ids[37]=iomodel->nodecounter+iomodel->numberofvertices+3*iomodel->numberofedges+3*iomodel->numberoffaces+iomodel->numberofvertices+2*iomodel->elementtoedgeconnectivity[9*index+1]+1;2541 penta_node_ids[38]=iomodel->nodecounter+iomodel->numberofvertices+3*iomodel->numberofedges+3*iomodel->numberoffaces+iomodel->numberofvertices+2*iomodel->elementtoedgeconnectivity[9*index+2]+1;2542 penta_node_ids[39]=iomodel->nodecounter+iomodel->numberofvertices+3*iomodel->numberofedges+3*iomodel->numberoffaces+iomodel->numberofvertices+2*iomodel->elementtoedgeconnectivity[9*index+0]+2;2543 penta_node_ids[40]=iomodel->nodecounter+iomodel->numberofvertices+3*iomodel->numberofedges+3*iomodel->numberoffaces+iomodel->numberofvertices+2*iomodel->elementtoedgeconnectivity[9*index+1]+2;2544 penta_node_ids[41]=iomodel->nodecounter+iomodel->numberofvertices+3*iomodel->numberofedges+3*iomodel->numberoffaces+iomodel->numberofvertices+2*iomodel->elementtoedgeconnectivity[9*index+2]+2;2545 2539 break; 2546 2540 default: -
issm/trunk-jpl/src/c/classes/Elements/PentaRef.cpp
r17536 r17795 1130 1130 case MINIEnum: return NUMNODESP1b+NUMNODESP1; 1131 1131 case TaylorHoodEnum: return NUMNODESP2+NUMNODESP1; 1132 case OneLayerP4zEnum: return NUMNODESP2xP4+NUMNODESP1 xP3;1132 case OneLayerP4zEnum: return NUMNODESP2xP4+NUMNODESP1; 1133 1133 case P2xP4Enum: return NUMNODESP2xP4; 1134 1134 case P1xP3Enum: return NUMNODESP1xP3; … … 1148 1148 case MINIEnum: return NUMNODESP1; 1149 1149 case TaylorHoodEnum: return NUMNODESP1; 1150 case OneLayerP4zEnum: return NUMNODESP1 xP3;1150 case OneLayerP4zEnum: return NUMNODESP1; 1151 1151 default: _error_("Element type "<<EnumToStringx(this->element_type)<<" not supported yet"); 1152 1152 } … … 1196 1196 case MINIEnum: return P1Enum; 1197 1197 case TaylorHoodEnum: return P1Enum; 1198 case OneLayerP4zEnum: return P1 xP3Enum;1198 case OneLayerP4zEnum: return P1Enum; 1199 1199 default: _error_("Element type "<<EnumToStringx(this->element_type)<<" not supported yet"); 1200 1200 } -
issm/trunk-jpl/src/c/modules/ModelProcessorx/CreateNodes.cpp
r17692 r17795 396 396 } 397 397 398 /*P1 xP3pressure*/398 /*P1 pressure*/ 399 399 vnodes = id0+3*iomodel->numberoffaces; 400 400 for(i=0;i<iomodel->numberofvertices;i++){ … … 403 403 } 404 404 counter++; 405 }406 for(i=0;i<iomodel->numberofedges;i++){407 if(iomodel->edges[i*3+2]==2){408 if(my_edges[i]){409 node = new Node(vnodes+iomodel->numberofvertices+2*i+1,counter+1,lid++,0,iomodel,analysis,FSpressureEnum);410 nodes->AddObject(node);411 node = new Node(vnodes+iomodel->numberofvertices+2*i+2,counter+2,lid++,0,iomodel,analysis,FSpressureEnum);412 nodes->AddObject(node);413 }414 counter=counter+2;415 }416 405 } 417 406 break;
Note:
See TracChangeset
for help on using the changeset viewer.