Ignore:
Timestamp:
05/22/20 10:13:54 (5 years ago)
Author:
Eric.Larour
Message:

CHG: removed maskpsl, switched groundedice_levelset to ocean_levelset (thanks Mathieu!).
Adapted tests 2002 to 2010

File:
1 edited

Legend:

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

    r24861 r24889  
    54495449IssmDouble    Tria::OceanArea(void){ /*{{{*/
    54505450
    5451         if(IsWaterInElement()) return GetAreaSpherical();
     5451        if(IsOceanInElement()) return GetAreaSpherical();
    54525452        else return 0;
    54535453
     
    54565456IssmDouble Tria::OceanAverage(IssmDouble* Sg){ /*{{{*/
    54575457
    5458         if(IsWaterInElement()){
     5458        if(IsOceanInElement()){
    54595459
    54605460                IssmDouble area;
     
    54755475void    Tria::SealevelriseMomentOfInertia(IssmDouble* dI_list,IssmDouble* Sg_old,IssmDouble eartharea){/*{{{*/
    54765476        /*early return if we are not on an ice cap OR ocean:*/
    5477         if(!IsIceOnlyInElement() && !IsWaterInElement()){
     5477        if(!IsIceOnlyInElement() && !IsOceanInElement()){
    54785478                dI_list[0] = 0.0; // this is important!!!
    54795479                dI_list[1] = 0.0; // this is important!!!
     
    55285528        re=(llr_list[0][2]+llr_list[1][2]+llr_list[2][2])/3.0;
    55295529
    5530         if(IsWaterInElement()){
     5530        if(IsOceanInElement()){
    55315531                IssmDouble rho_water, S;
    55325532
     
    59735973
    59745974        /*early return if we are not on the ocean:*/
    5975         if (!IsWaterInElement()){
     5975        if (!IsOceanInElement()){
    59765976                constant=0; this->AddInput2(SealevelEustaticOceanMaskEnum,&constant,P0Enum);
    59775977                return;
     
    61266126
    61276127        /*early return if we are not on the ocean or on an ice cap:*/
    6128         if(!IsIceOnlyInElement() && !IsWaterInElement()) return;
     6128        if(!IsIceOnlyInElement() && !IsOceanInElement()) return;
    61296129
    61306130        /*early return if we are fully floating: */
     
    62686268                        }
    62696269                }
    6270                 else if(IsWaterInElement()) {
     6270                else if(IsOceanInElement()) {
    62716271                        U_values[i]+=3*rho_water/rho_earth*area/eartharea*S*U_elastic[i];
    62726272                        if(horiz){
Note: See TracChangeset for help on using the changeset viewer.