Changeset 26964


Ignore:
Timestamp:
04/21/22 12:37:15 (3 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added IsAllGrounded for killberg

Location:
issm/trunk-jpl/src/c/classes/Elements
Files:
2 edited

Legend:

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

    r26947 r26964  
    21962196
    21972197        return shelf;
     2198}/*}}}*/
     2199bool       Element::IsAllGrounded(){/*{{{*/
     2200
     2201        Input* input=this->GetInput(MaskOceanLevelsetEnum); _assert_(input);
     2202        if(input->GetInputMin() < 0.){
     2203                return false;
     2204        }
     2205        else{
     2206                return true;
     2207        }
    21982208}/*}}}*/
    21992209bool       Element::IsGrounded(){/*{{{*/
  • issm/trunk-jpl/src/c/classes/Elements/Element.h

    r26947 r26964  
    145145
    146146                bool               IsAllFloating();
     147                bool               IsAllGrounded();
    147148                bool               IsGrounded();
    148149                bool               IsOnBase();
Note: See TracChangeset for help on using the changeset viewer.