FV3 Bundle
gsw_enthalpy_t_exact.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_enthalpy_t_exact
(sa, t, p)
3
!==========================================================================
4
!
5
! Calculates the specific enthalpy of seawater
6
!
7
! sa : Absolute Salinity [g/kg]
8
! t : in-situ temperature [deg C]
9
! p : sea pressure [dbar]
10
!
11
! gsw_enthalpy_t_exact : specific enthalpy [J/kg]
12
!--------------------------------------------------------------------------
13
14
use
gsw_mod_toolbox
,
only
:
gsw_gibbs
15
16
use
gsw_mod_teos10_constants
,
only
:
gsw_t0
17
18
use
gsw_mod_kinds
19
20
implicit none
21
22
real (r8)
,
intent(in)
:: sa, t, p
23
24
real (r8)
::
gsw_enthalpy_t_exact
25
26
integer
,
parameter
:: n0=0, n1=1
27
28
gsw_enthalpy_t_exact
=
gsw_gibbs
(n0,n0,n0,sa,t,p) - &
29
(t+
gsw_t0
)*
gsw_gibbs
(n0,n1,n0,sa,t,p)
30
31
return
32
end function
33
34
!--------------------------------------------------------------------------
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_toolbox::gsw_gibbs
Definition:
gsw_mod_toolbox.f90:625
gsw_mod_teos10_constants
Definition:
gsw_mod_teos10_constants.f90:2
gsw_enthalpy_t_exact
elemental real(r8) function gsw_enthalpy_t_exact(sa, t, p)
Definition:
gsw_enthalpy_t_exact.f90:3
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_teos10_constants::gsw_t0
real(r8), parameter gsw_t0
Definition:
gsw_mod_teos10_constants.f90:28
gsw_mod_toolbox::gsw_enthalpy_t_exact
Definition:
gsw_mod_toolbox.f90:506
src
fv3-bundle
gsw
toolbox
gsw_enthalpy_t_exact.f90
Generated on Tue Nov 6 2018 11:38:36 for FV3 Bundle by
1.8.14