Changeset 25407
- Timestamp:
- 08/16/20 16:36:34 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/SurfaceMassBalancex/Gembx.cpp
r25396 r25407 980 980 E_diff = E_used - E_sup; 981 981 982 if abs(E_diff) > 1E-6 || isnan(E_diff)982 if fabs(E_diff) > 1E-6 || isnan(E_diff) 983 983 disp(T(1)) 984 984 _error_("energy not conserved in thermodynamics equations"); … … 2101 2101 // ERA5 new aIdx=1, swIdx=0 2102 2102 if (aIdx==1 && swIdx==0){ 2103 if ( abs(adThresh - 820) < Dtol){2103 if (fabs(adThresh - 820) < Dtol){ 2104 2104 // ERA5 new aIdx=1, swIdx=0, MODIS 820 2105 2105 M0 = max(1.8785 - (0.1811 * log(C)),0.25); … … 2145 2145 // ERA5 new aIdx=1, swIdx=0 2146 2146 if (aIdx==1 && swIdx==0){ 2147 if ( abs(adThresh - 820) < Dtol){2147 if (fabs(adThresh - 820) < Dtol){ 2148 2148 // ERA5 new aIdx=1, swIdx=0, MODIS 820 2149 2149 M0 = max(1.4174 - (0.1037 * log(C)),0.25);
Note:
See TracChangeset
for help on using the changeset viewer.