Changeset 7515
- Timestamp:
- 02/25/11 15:16:06 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Node.cpp
r7443 r7515 85 85 if (iomodel->numbernodetoelementconnectivity) this->inputs->AddInput(new IntInput(NumberNodeToElementConnectivityEnum,(IssmInt)iomodel->numbernodetoelementconnectivity[io_index])); 86 86 if (analysis_type==DiagnosticHorizAnalysisEnum) this->inputs->AddInput(new IntInput(ApproximationEnum,(IssmInt)iomodel->vertices_type[io_index])); 87 87 88 88 /*set single point constraints: */ 89 90 /*spc all nodes on water*/ 91 if (!iomodel->gridonwater) _error_("iomodel->gridonwater is NULL"); 92 if (iomodel->gridonwater[io_index]){ 93 for(k=1;k<=gsize;k++){ 94 this->FreezeDof(k); 95 } 96 } 89 97 90 98 /*Diagnostic Horiz*/ … … 115 123 } 116 124 } 117 /*spc all nodes on water*/ 118 if (!iomodel->gridonwater) _error_("iomodel->gridonwater is NULL"); 119 if (iomodel->gridonwater[io_index]){ 120 for(k=1;k<=gsize;k++){ 121 this->FreezeDof(k); 122 } 123 } 125 124 126 } 125 127
Note:
See TracChangeset
for help on using the changeset viewer.