Changeset 14373
- Timestamp:
- 02/22/13 18:25:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/objects/Elements/Tria.cpp
r14372 r14373 2176 2176 if (bed_hydro>ba[i]){ 2177 2177 /*Unground only if the element is connected to the ice shelf*/ 2178 if(migration_style==AgressiveMigrationEnum ){2178 if(migration_style==AgressiveMigrationEnum || migration_style==SubelementMigrationEnum){ 2179 2179 s[i]=(1-density)*h[i]; 2180 2180 b[i]=-density*h[i]; … … 2187 2187 nodes[i]->inputs->AddInput(new BoolInput(MaskVertexonfloatingiceEnum,true)); 2188 2188 nodes[i]->inputs->AddInput(new BoolInput(MaskVertexongroundediceEnum,false)); 2189 } 2190 else{ 2191 if(migration_style!=SoftMigrationEnum) _error_("Error: migration should be Aggressive, Soft or Subelement"); 2189 2192 } 2190 2193 }
Note:
See TracChangeset
for help on using the changeset viewer.