Changeset 22234


Ignore:
Timestamp:
11/04/17 16:36:32 (8 years ago)
Author:
Eric.Larour
Message:

CHG: eustatic mask.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-larour-NatGeoScience2016/src/c/classes/Elements/Tria.cpp

    r22140 r22234  
    40304030        /*early return if we are not on an ice cap:*/
    40314031        if(!(this->inputs->Max(MaskIceLevelsetEnum)<0)){
     4032                this->inputs->AddInput(new TriaInput(SealevelEustaticMaskEnum,0,P0Enum));
    40324033                *peustatic=0; //do not forget to assign this pointer, otherwise, global eustatic will be garbage!
    40334034                return;
     
    40364037        /*early return if we are fully floating: */
    40374038        if (this->inputs->Max(MaskGroundediceLevelsetEnum)<=0){
     4039                this->inputs->AddInput(new TriaInput(SealevelEustaticMaskEnum,0,P0Enum));
    40384040                *peustatic=0; //do not forget to assign this pointer, otherwise, global eustatic will be garbage!
    40394041                return;
     
    40444046                notfullygrounded=true; //used later on.
    40454047        }
     4048               
     4049        /*Inform mask: */
     4050        this->inputs->AddInput(new TriaInput(SealevelEustaticMaskEnum,1,P0Enum));
    40464051
    40474052        /*recover material parameters: */
Note: See TracChangeset for help on using the changeset viewer.