Enthalpy (J/kg) of liquid water at temperature t — SIS2
enthalpy_liquid (SIS2_ice_thm.F90:1691). s is unused in
this linear form; the argument is kept for SIS2 call-site
parity (enthalpy_liquid(T, S, ITV)).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | t |
Water temperature (degC). |
||
| real(kind=wp), | intent(in) | :: | s |
Ice bulk salinity (PSU) — unused, kept for call-site parity. |
pure elemental function ice_enthalpy_liquid(t, s) result(enth) !! Enthalpy (J/kg) of liquid water at temperature `t` — SIS2 !! `enthalpy_liquid` (SIS2_ice_thm.F90:1691). `s` is unused in !! this linear form; the argument is kept for SIS2 call-site !! parity (`enthalpy_liquid(T, S, ITV)`). !$acc routine seq real(wp), intent(in) :: t !! Water temperature (degC). real(wp), intent(in) :: s !! Ice bulk salinity (PSU) — unused, kept for call-site parity. real(wp) :: enth enth = ICE_ENTH_LIQ_0 + ICE_CP_WATER*t end function ice_enthalpy_liquid