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