Changeset 6715
- Timestamp:
- 12/10/10 09:14:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp
r6412 r6715 126 126 else if ((int)iomodel->vertices_type[i]==MacAyealStokesApproximationEnum){ 127 127 /*If grion,pattyn spc stokes dofs: 3 4 & 5*/ 128 if ((int)iomodel->gridon pattyn[i]){128 if ((int)iomodel->gridonmacayeal[i]){ 129 129 constraints->AddObject(new Spc(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,3,0,DiagnosticHorizAnalysisEnum)); //add count'th spc, on node i+1, setting dof 1 to vx. 130 130 count++; … … 143 143 144 144 } 145 else if ((int)iomodel->gridonstokes[i]){ //spc pattyngrids: 1 & 2145 else if ((int)iomodel->gridonstokes[i]){ //spc macayeal grids: 1 & 2 146 146 constraints->AddObject(new Spc(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,1,0,DiagnosticHorizAnalysisEnum)); //add count'th spc, on node i+1, setting dof 1 to vx. 147 147 count++; … … 161 161 } 162 162 } 163 else _error_("if vertices_type is MacAyealStokes, you shoud have gridon pattynor gridonstokes");163 else _error_("if vertices_type is MacAyealStokes, you shoud have gridonmacayeal or gridonstokes"); 164 164 } 165 165 /*Now add the regular spcs*/
Note:
See TracChangeset
for help on using the changeset viewer.