Changeset 27937


Ignore:
Timestamp:
10/04/23 12:09:12 (19 months ago)
Author:
koitf1
Message:

BUG: fix coeff calculation in GlaDS hydrology transition model

Location:
issm/trunk-jpl/src
Files:
3 edited

Legend:

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

    r27936 r27937  
    531531                IssmDouble coarg = 1. + 4.*pow(hratio,3-2*alpha)*omega*k*pow(h,3)*normgradphi/nu;
    532532                coeff = nu/2./omega*pow(hratio,2*alpha-3) * (-1 + pow(coarg, 0.5))/normgradphi/max(AEPS,h);  // divide by h to get speed instead of discharge
    533                 coeff = k*pow(h,alpha)*pow(normgradphi,beta-2.)/max(AEPS,h);  // divide by h to get speed instead of discharge
    534533        }
    535534        else {
  • issm/trunk-jpl/src/m/classes/hydrologyglads.m

    r27936 r27937  
    126126                        fielddisplay(self,'requested_outputs','additional outputs requested');
    127127                        fielddisplay(self,'melt_flag','User specified basal melt? 0: no (default), 1: use md.basalforcings.groundedice_melting_rate');
    128                         fielddisplay(self,'istransition','do we use transition [1] or turbulent physics [0, default]');
     128                        fielddisplay(self,'istransition','do we use standard [0, default] or transition model [1]');
    129129                end % }}}
    130130                function marshall(self,prefix,md,fid) % {{{
  • issm/trunk-jpl/src/m/classes/hydrologyglads.py

    r27936 r27937  
    7272        s += '{}\n'.format(fielddisplay(self, 'requested_outputs', 'additional outputs requested'))
    7373        s += '{}\n'.format(fielddisplay(self, 'melt_flag', 'User specified basal melt? 0: no (default), 1: use md.basalforcings.groundedice_melting_rate'))
    74         s += '{}\n'.format(fielddisplay(self, 'istransition','do we use transition [1] or turbulent physics [0, default]'))
     74        s += '{}\n'.format(fielddisplay(self, 'istransition','do we use standard [0, default] or transition model [1]'))
    7575        return string
    7676    # }}}
Note: See TracChangeset for help on using the changeset viewer.