Changeset 24861 for issm/trunk-jpl/src/c/classes/Elements/Element.cpp
- Timestamp:
- 05/15/20 20:21:50 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r24735 r24861 1986 1986 parameters->FindParam(&migration_style,GroundinglineMigrationEnum); 1987 1987 1988 Input2* input = this->GetInput2(Mask GroundediceLevelsetEnum); _assert_(input);1988 Input2* input = this->GetInput2(MaskOceanLevelsetEnum); _assert_(input); 1989 1989 1990 1990 if(migration_style==SubelementMigrationEnum){ //Floating if all nodes are floating … … 2006 2006 bool Element::IsGrounded(){/*{{{*/ 2007 2007 2008 Input2* input=this->GetInput2(Mask GroundediceLevelsetEnum); _assert_(input);2008 Input2* input=this->GetInput2(MaskOceanLevelsetEnum); _assert_(input); 2009 2009 if(input->GetInputMax() > 0.){ 2010 2010 return true; … … 2258 2258 GetInputListOnVertices(&r[0],BedEnum); 2259 2259 GetInputListOnVertices(&sl[0],SealevelEnum); 2260 GetInputListOnVertices(&phi[0],Mask GroundediceLevelsetEnum);2260 GetInputListOnVertices(&phi[0],MaskOceanLevelsetEnum); 2261 2261 rho_water = FindParam(MaterialsRhoSeawaterEnum); 2262 2262 rho_ice = FindParam(MaterialsRhoIceEnum); … … 2312 2312 } 2313 2313 } 2314 this->AddInput2(Mask GroundediceLevelsetEnum,&phi[0],P1Enum);2314 this->AddInput2(MaskOceanLevelsetEnum,&phi[0],P1Enum); 2315 2315 2316 2316 /*Update inputs*/
Note:
See TracChangeset
for help on using the changeset viewer.