Changeset 16570


Ignore:
Timestamp:
10/28/13 17:04:21 (11 years ago)
Author:
bdef
Message:

Hacking the convergence criterion when the sediment layer is empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/solutionsequences/solutionsequence_hydro_nonlinear.cpp

    r16126 r16570  
    166166                        delete ug_sed_main_iter;
    167167                        if (xIsNan<IssmDouble>(ndu_sed) || xIsNan<IssmDouble>(nu_sed)) _error_("Sed convergence criterion is NaN!");
     168                        if (ndu_sed==0.0 && nu_sed==0.0) nu_sed=1.0e-6; /*Hacking the case where the Sediment is used but empty*/
    168169                        if (!xIsNan<IssmDouble>(eps_hyd)){
    169170                                if (!isefficientlayer){
Note: See TracChangeset for help on using the changeset viewer.