PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
◆ 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 237 of file EnthalpyConverter.cc. References enthalpy_cold(), enthalpy_cts(), L(), melting_temperature(), and validate_T_omega_P(). Referenced by enthalpy_permissive(). |