Ignore:
Timestamp:
05/15/20 20:21:50 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: renaming groundedice_levelset -> ocean_levelset (negative if ocean present, positive outside

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Element.cpp

    r24735 r24861  
    19861986        parameters->FindParam(&migration_style,GroundinglineMigrationEnum);
    19871987
    1988         Input2* input = this->GetInput2(MaskGroundediceLevelsetEnum); _assert_(input);
     1988        Input2* input = this->GetInput2(MaskOceanLevelsetEnum); _assert_(input);
    19891989
    19901990        if(migration_style==SubelementMigrationEnum){ //Floating if all nodes are floating
     
    20062006bool       Element::IsGrounded(){/*{{{*/
    20072007
    2008         Input2* input=this->GetInput2(MaskGroundediceLevelsetEnum); _assert_(input);
     2008        Input2* input=this->GetInput2(MaskOceanLevelsetEnum); _assert_(input);
    20092009        if(input->GetInputMax() > 0.){
    20102010                return true;
     
    22582258        GetInputListOnVertices(&r[0],BedEnum);
    22592259        GetInputListOnVertices(&sl[0],SealevelEnum);
    2260         GetInputListOnVertices(&phi[0],MaskGroundediceLevelsetEnum);
     2260        GetInputListOnVertices(&phi[0],MaskOceanLevelsetEnum);
    22612261        rho_water   = FindParam(MaterialsRhoSeawaterEnum);
    22622262        rho_ice     = FindParam(MaterialsRhoIceEnum);
     
    23122312                }
    23132313        }
    2314         this->AddInput2(MaskGroundediceLevelsetEnum,&phi[0],P1Enum);
     2314        this->AddInput2(MaskOceanLevelsetEnum,&phi[0],P1Enum);
    23152315
    23162316        /*Update inputs*/
Note: See TracChangeset for help on using the changeset viewer.