Changeset 11290
- Timestamp:
- 02/01/12 13:41:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/objects/Materials/Matpar.cpp
r10576 r11290 416 416 /*FUNCTION Matpar::GetEnthalpyDiffusionParameter{{{1*/ 417 417 double Matpar::GetEnthalpyDiffusionParameter(double enthalpy,double pressure){ 418 return thermalconductivity/(rho_ice*heatcapacity); 418 if(enthalpy<PureIceEnthalpy(pressure)){ 419 return thermalconductivity/(rho_ice*heatcapacity); 420 } 421 else{ 422 return 0.1*thermalconductivity/(rho_ice*heatcapacity); 423 } 419 424 } 420 425 /*}}}1*/
Note:
See TracChangeset
for help on using the changeset viewer.