Changeset 4611
- Timestamp:
- 07/14/10 17:00:52 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp ΒΆ
r4236 r4611 43 43 if(iomodel->my_vertices[i]){ 44 44 45 if ((int)iomodel->spcvelocity[6*i+0] | (int)iomodel->gridonhutter[i])45 if ((int)iomodel->spcvelocity[6*i+0] || (int)iomodel->gridonhutter[i]){ 46 46 constraints->AddObject(new Spc(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,1,*(iomodel->spcvelocity+6*i+3)/iomodel->yts,DiagnosticHorizAnalysisEnum)); //add count'th spc, on node i+1, setting dof 1 to vx. 47 48 count++;47 count++; 48 } 49 49 50 if ((int)iomodel->spcvelocity[6*i+1] | (int)iomodel->gridonhutter[i])50 if ((int)iomodel->spcvelocity[6*i+1] || (int)iomodel->gridonhutter[i]){ 51 51 constraints->AddObject(new Spc(iomodel->constraintcounter+count+1,iomodel->nodecounter+i+1,2,*(iomodel->spcvelocity+6*i+4)/iomodel->yts,DiagnosticHorizAnalysisEnum)); //add count'th spc, on node i+1, setting dof 2 to vy 52 53 count++;52 count++; 53 } 54 54 } 55 55 }
Note:
See TracChangeset
for help on using the changeset viewer.