FV3 Bundle
gsw_enthalpy_ct_exact.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_enthalpy_ct_exact
(sa, ct, p)
3
!==========================================================================
4
!
5
! Calculates specific enthalpy of seawater from Absolute Salinity and
6
! Conservative Temperature and pressure.
7
!
8
! Note that this function uses the full Gibbs function.
9
!
10
! SA = Absolute Salinity [ g/kg ]
11
! CT = Conservative Temperature (ITS-90) [ deg C ]
12
! p = sea pressure [ dbar ]
13
! ( i.e. absolute pressure - 10.1325 dbar )
14
!
15
! enthalpy_CT_exact = specific enthalpy [ J/kg ]
16
!--------------------------------------------------------------------------
17
18
use
gsw_mod_toolbox
,
only
:
gsw_enthalpy_t_exact
,
gsw_t_from_ct
19
20
use
gsw_mod_kinds
21
22
implicit none
23
24
real (r8)
,
intent(in)
:: sa, ct, p
25
26
real (r8)
::
gsw_enthalpy_ct_exact
27
28
real (r8)
:: t
29
30
t =
gsw_t_from_ct
(sa,ct,p)
31
gsw_enthalpy_ct_exact
=
gsw_enthalpy_t_exact
(sa,t,p)
32
33
return
34
end function
35
36
!--------------------------------------------------------------------------
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_toolbox::gsw_t_from_ct
Definition:
gsw_mod_toolbox.f90:1482
gsw_mod_toolbox::gsw_enthalpy_ct_exact
Definition:
gsw_mod_toolbox.f90:447
gsw_enthalpy_ct_exact
elemental real(r8) function gsw_enthalpy_ct_exact(sa, ct, p)
Definition:
gsw_enthalpy_ct_exact.f90:3
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_toolbox::gsw_enthalpy_t_exact
Definition:
gsw_mod_toolbox.f90:506
src
fv3-bundle
gsw
toolbox
gsw_enthalpy_ct_exact.f90
Generated on Tue Nov 6 2018 11:38:36 for FV3 Bundle by
1.8.14