FV3 Bundle
gsw_enthalpy.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_enthalpy
(sa, ct, p)
3
!==========================================================================
4
!
5
! Calculates specific enthalpy of seawater using the computationally-
6
! efficient expression for specific volume in terms of SA, CT and p
7
! (Roquet et al., 2014).
8
!
9
! SA = Absolute Salinity [ g/kg ]
10
! CT = Conservative Temperature (ITS-90) [ deg C ]
11
! p = sea pressure [ dbar ]
12
! ( i.e. absolute pressure - 10.1325 dbar )
13
!
14
! enthalpy = specific enthalpy [ J/kg ]
15
!--------------------------------------------------------------------------
16
17
use
gsw_mod_toolbox
,
only
:
gsw_dynamic_enthalpy
18
19
use
gsw_mod_teos10_constants
,
only
:
gsw_cp0
20
21
use
gsw_mod_kinds
22
23
implicit none
24
25
real (r8)
,
intent(in)
:: sa, ct, p
26
27
real (r8)
::
gsw_enthalpy
28
29
gsw_enthalpy
=
gsw_cp0
*ct +
gsw_dynamic_enthalpy
(sa,ct,p)
30
31
return
32
end function
33
34
!--------------------------------------------------------------------------
gsw_mod_toolbox::gsw_dynamic_enthalpy
Definition:
gsw_mod_toolbox.f90:433
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_enthalpy
elemental real(r8) function gsw_enthalpy(sa, ct, p)
Definition:
gsw_enthalpy.f90:3
gsw_mod_teos10_constants
Definition:
gsw_mod_teos10_constants.f90:2
gsw_mod_toolbox::gsw_enthalpy
Definition:
gsw_mod_toolbox.f90:440
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_teos10_constants::gsw_cp0
real(r8), parameter gsw_cp0
Definition:
gsw_mod_teos10_constants.f90:24
src
fv3-bundle
gsw
toolbox
gsw_enthalpy.f90
Generated on Tue Nov 6 2018 11:38:36 for FV3 Bundle by
1.8.14