FV3 Bundle
gsw_pot_rho_t_exact.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_pot_rho_t_exact
(sa, t, p, p_ref)
3
!==========================================================================
4
!
5
! Calculates the potential density of seawater
6
!
7
! sa : Absolute Salinity [g/kg]
8
! t : in-situ temperature [deg C]
9
! p : sea pressure [dbar]
10
! p_ref : reference sea pressure [dbar]
11
!
12
! gsw_pot_rho_t_exact : potential density [kg/m^3]
13
!--------------------------------------------------------------------------
14
15
use
gsw_mod_toolbox
,
only
:
gsw_pt_from_t
,
gsw_rho_t_exact
16
17
use
gsw_mod_kinds
18
19
implicit none
20
21
real (r8)
,
intent(in)
:: sa, t, p, p_ref
22
23
real (r8)
::
gsw_pot_rho_t_exact
24
25
real (r8)
:: pt
26
27
pt =
gsw_pt_from_t
(sa,t,p,p_ref)
28
29
gsw_pot_rho_t_exact
=
gsw_rho_t_exact
(sa,pt,p_ref)
30
31
return
32
end function
33
34
!--------------------------------------------------------------------------
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_toolbox::gsw_pt_from_t
Definition:
gsw_mod_toolbox.f90:1030
gsw_pot_rho_t_exact
elemental real(r8) function gsw_pot_rho_t_exact(sa, t, p, p_ref)
Definition:
gsw_pot_rho_t_exact.f90:3
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_toolbox::gsw_pot_rho_t_exact
Definition:
gsw_mod_toolbox.f90:946
gsw_mod_toolbox::gsw_rho_t_exact
Definition:
gsw_mod_toolbox.f90:1116
src
fv3-bundle
gsw
toolbox
gsw_pot_rho_t_exact.f90
Generated on Tue Nov 6 2018 11:39:00 for FV3 Bundle by
1.8.14