source: issm/oecreview/Archive/18296-19100/ISSM-18946-18947.diff@ 19102

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

NEW: added 18296-19100

File size: 706 bytes
  • ../trunk-jpl/src/c/classes/Elements/Tria.cpp

     
    32523252                                        if (this->IsFloating()){
    32533253                                                /*hydrostatic equilibrium: */
    32543254                                                IssmDouble rho_ice,rho_water,di;
    3255                                                 rho_ice   = this->matpar->GetRhoIce();
    3256                                                 rho_water = this->matpar->GetRhoWater();
     3255                                                rho_ice   = this->matpar->GetMaterialParameter(MaterialsRhoIceEnum);
     3256                                                rho_water = this->matpar->GetMaterialParameter(MaterialsRhoSeawaterEnum);
    32573257                                                di        = rho_ice/rho_water;
    32583258
    32593259                                                /*build new thickness: */
Note: See TracBrowser for help on using the repository browser.