Changeset 18517


Ignore:
Timestamp:
09/15/14 04:25:08 (11 years ago)
Author:
jbondzio
Message:

BUG: From the series: 'bugs are small and hard to find', lesson 113: 'Do apply basal heating throughout steadystate solver runs, otherwise the solver starts to oscillate'.

Location:
issm/trunk-jpl
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp

    r18484 r18517  
    588588                watercolumn_input->GetInputValue(&watercolumn,gauss);
    589589
    590                 if((watercolumn<=0.) && (enthalpy<PureIceEnthalpy(element,pressure))){
     590                if((dt==0.) || ((watercolumn<=0.) && (enthalpy<PureIceEnthalpy(element,pressure)))){
    591591                        /* the above check is equivalent to
    592592                         NOT [(watercolumn>0.) AND (enthalpy<PIE)] AND (enthalpy<PIE)*/
Note: See TracChangeset for help on using the changeset viewer.