source: issm/oecreview/Archive/18296-19100/ISSM-18516-18517.diff

Last change on this file was 19102, checked in by Mathieu Morlighem, 10 years ago

NEW: added 18296-19100

File size: 1.3 KB
  • ../trunk-jpl/src/c/analyses/EnthalpyAnalysis.cpp

    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
    Cannot display: file marked as a binary type.
    svn:mime-type = application/octet-stream
     
    587587                pressure_input->GetInputValue(&pressure,gauss);
    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)*/
    593593                        geothermalflux_input->GetInputValue(&geothermalflux,gauss);
Note: See TracBrowser for help on using the repository browser.