Changeset 19931


Ignore:
Timestamp:
01/06/16 14:00:42 (9 years ago)
Author:
aleahsommers
Message:

CHG: Put in a cap so that subglacial gap height cannot exceed the ice thickness

File:
1 edited

Legend:

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

    r19926 r19931  
    484484                IssmDouble pressure_water = rho_water*g*(head-bed);
    485485                if(pressure_water>pressure_ice) pressure_water = pressure_ice;
     486     
    486487
    487488                meltrate = 1/latentheat*(G+frictionheat+rho_water*g*conductivity*(dh[0]*dh[0]+dh[1]*dh[1]));
     
    501502        if(newgap<mingap) newgap=mingap;
    502503
     504        /*Limit gap height to grow to surface*/
     505        if(newgap>thickness)
     506         newgap = thickness;
     507       
     508         
    503509        /*Add new gap as an input*/
    504510        element->AddInput(HydrologyGapHeightEnum,&newgap,P0Enum);
Note: See TracChangeset for help on using the changeset viewer.