Changeset 21553
- Timestamp:
- 02/10/17 13:49:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp
r20690 r21553 585 585 } 586 586 break; 587 case P1xP2Enum: 588 for(i=0;i<iomodel->numberofvertices;i++){ 589 if((iomodel->my_vertices[i])){ 590 if (!xIsNan<IssmDouble>(spcdata[i])){ 591 constraints->AddObject(new SpcDynamic(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,dof,analysis_type)); 592 count++; 593 } 594 } 595 } 596 for(i=0;i<iomodel->numberofedges;i++){ 597 if(iomodel->edges[i*3+2]==2){ 598 if(my_edges[i]){ 599 v1 = iomodel->edges[3*i+0]-1; 600 v2 = iomodel->edges[3*i+1]-1; 601 if(!xIsNan<IssmDouble>(spcdata[v1]) && !xIsNan<IssmDouble>(spcdata[v2])){ 602 constraints->AddObject(new SpcDynamic(iomodel->constraintcounter+count+1,iomodel->nodecounter+iomodel->numberofvertices+i+1, 603 dof,analysis_type)); 604 count++; 605 } 606 } 607 } 608 } 609 break; 587 610 default: 588 611 _error_("Finite element "<<EnumToStringx(finite_element)<<" not supported yet");
Note:
See TracChangeset
for help on using the changeset viewer.