Rev | Line | |
---|
[19102] | 1 | Index: ../trunk-jpl/src/c/classes/Elements/Tria.cpp
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/c/classes/Elements/Tria.cpp (revision 18946)
|
---|
| 4 | +++ ../trunk-jpl/src/c/classes/Elements/Tria.cpp (revision 18947)
|
---|
| 5 | @@ -3252,8 +3252,8 @@
|
---|
| 6 | if (this->IsFloating()){
|
---|
| 7 | /*hydrostatic equilibrium: */
|
---|
| 8 | IssmDouble rho_ice,rho_water,di;
|
---|
| 9 | - rho_ice = this->matpar->GetRhoIce();
|
---|
| 10 | - rho_water = this->matpar->GetRhoWater();
|
---|
| 11 | + rho_ice = this->matpar->GetMaterialParameter(MaterialsRhoIceEnum);
|
---|
| 12 | + rho_water = this->matpar->GetMaterialParameter(MaterialsRhoSeawaterEnum);
|
---|
| 13 | di = rho_ice/rho_water;
|
---|
| 14 |
|
---|
| 15 | /*build new thickness: */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.