Changeset 18951
- Timestamp:
- 12/05/14 13:42:17 (10 years ago)
- Location:
- issm/trunk-jpl/src/c/classes/Elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r18950 r18951 2019 2019 2020 2020 /*Get material parameters :*/ 2021 rho_ice=matpar->GetRhoIce(); 2022 rho_water=matpar->GetRhoFreshwater(); 2021 rho_water=matpar->GetMaterialParameter(MaterialsRhoSeawaterEnum); 2022 rho_ice=matpar->GetMaterialParameter(MaterialsRhoIceEnum); 2023 //rho_ice=matpar->GetRhoIce(); 2024 //rho_water=matpar->GetRhoFreshwater(); 2023 2025 2024 2026 sconv=(rho_water/rho_ice)/12.; //to convert monbthly prec in m of ice equivalent per month -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r18950 r18951 2222 2222 2223 2223 /*Get material parameters :*/ 2224 rho_ice=matpar->GetRhoIce(); 2225 rho_water=matpar->GetRhoFreshwater(); 2224 rho_water=matpar->GetMaterialParameter(MaterialsRhoSeawaterEnum); 2225 rho_ice=matpar->GetMaterialParameter(MaterialsRhoIceEnum); 2226 //rho_ice=matpar->GetRhoIce(); 2227 //rho_water=matpar->GetRhoFreshwater(); 2226 2228 2227 2229 sconv=(rho_water/rho_ice)/12.; //to convert monbthly prec in m of ice equivalent per month
Note:
See TracChangeset
for help on using the changeset viewer.