Changeset 15196


Ignore:
Timestamp:
06/06/13 10:02:44 (12 years ago)
Author:
bdef
Message:

BUG:Fixing computation of hydrostatic upper limit for the sediment head

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r15192 r15196  
    64796479                int        hmax_flag;
    64806480                IssmDouble h_max;
    6481                 IssmDouble gravity,rho_ice,rho_water;
     6481                IssmDouble rho_ice,rho_water;
    64826482                IssmDouble thickness,bed;
    64836483
     
    64946494                                break;
    64956495                        case 2:
    6496                                 gravity=matpar->GetG();
    64976496                                rho_ice=matpar->GetRhoIce();
    64986497                                rho_water=matpar->GetRhoFreshwater();
    64996498                                this->GetInputValue(&thickness,innode,ThicknessEnum);
    65006499                                this->GetInputValue(&bed,innode,BedEnum);
    6501                                 h_max=((rho_ice*gravity*thickness)/rho_water)+bed;
     6500                                h_max=((rho_ice*thickness)/rho_water)+bed;
    65026501                                break;
    65036502                        case 3:
Note: See TracChangeset for help on using the changeset viewer.