Changeset 26777


Ignore:
Timestamp:
01/13/22 07:40:42 (3 years ago)
Author:
vverjans
Message:

CHG: allow for basal accretion in FloatingIce_MeltRate when using StochasticForcing

Location:
issm/trunk-jpl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/StochasticForcingx/StochasticForcingx.cpp

    r26750 r26777  
    136136                                                        gauss->GaussVertex(i);
    137137                                                        baselinefloatingicemeltrate_input->GetInputValue(&baselinefloatingicemeltrate,gauss);
    138                                                         floatingicemeltrate_tot[i] = max(0.0,baselinefloatingicemeltrate+noisefield[dimensionid]);
     138                                                        /*No check for positive melt rate because basal accretion is allowed*/
     139                                                        floatingicemeltrate_tot[i] = baselinefloatingicemeltrate+noisefield[dimensionid];
    139140                                                }
    140141                                                element->AddInput(BasalforcingsFloatingiceMeltingRateEnum,&floatingicemeltrate_tot[0],P1DGEnum);
Note: See TracChangeset for help on using the changeset viewer.