PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
◆ enthalpy()Compute enthalpy from absolute temperature, liquid water fraction, and pressure. This is an inverse function to the functions \(T(E,p)\) and \(\omega(E,p)\) [AschwandenBuelerKhroulevBlatter]. It returns: \[E(T,\omega,p) = \begin{cases} c_i (T - T_0), & T < T_m(p) \quad\text{and}\quad \omega = 0, \\ E_s(p) + \omega L, & T = T_m(p) \quad\text{and}\quad \omega \ge 0. \end{cases} \] Certain cases are not allowed and throw exceptions:
Definition at line 241 of file EnthalpyConverter.cc. References enthalpy_cold(), enthalpy_cts(), L, melting_temperature(), and validate_T_omega_P(). Referenced by enthalpy_permissive(), pism::stressbalance::SSATestCaseCFBC::SSATestCaseCFBC(), pism::stressbalance::SSATestCaseI::SSATestCaseI(), and pism::stressbalance::SSATestCaseJ::SSATestCaseJ(). |