Changeset 22234
- Timestamp:
- 11/04/17 16:36:32 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-larour-NatGeoScience2016/src/c/classes/Elements/Tria.cpp
r22140 r22234 4030 4030 /*early return if we are not on an ice cap:*/ 4031 4031 if(!(this->inputs->Max(MaskIceLevelsetEnum)<0)){ 4032 this->inputs->AddInput(new TriaInput(SealevelEustaticMaskEnum,0,P0Enum)); 4032 4033 *peustatic=0; //do not forget to assign this pointer, otherwise, global eustatic will be garbage! 4033 4034 return; … … 4036 4037 /*early return if we are fully floating: */ 4037 4038 if (this->inputs->Max(MaskGroundediceLevelsetEnum)<=0){ 4039 this->inputs->AddInput(new TriaInput(SealevelEustaticMaskEnum,0,P0Enum)); 4038 4040 *peustatic=0; //do not forget to assign this pointer, otherwise, global eustatic will be garbage! 4039 4041 return; … … 4044 4046 notfullygrounded=true; //used later on. 4045 4047 } 4048 4049 /*Inform mask: */ 4050 this->inputs->AddInput(new TriaInput(SealevelEustaticMaskEnum,1,P0Enum)); 4046 4051 4047 4052 /*recover material parameters: */
Note:
See TracChangeset
for help on using the changeset viewer.