Changeset 11290


Ignore:
Timestamp:
02/01/12 13:41:36 (13 years ago)
Author:
seroussi
Message:

different enthalpy diffusion parameter depending on enthalpy value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/objects/Materials/Matpar.cpp

    r10576 r11290  
    416416/*FUNCTION Matpar::GetEnthalpyDiffusionParameter{{{1*/
    417417double 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        }
    419424}
    420425/*}}}1*/
Note: See TracChangeset for help on using the changeset viewer.