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