FV3 Bundle
gsw_ct_from_entropy.f90
Go to the documentation of this file.
1
!=========================================================================
2
elemental function
gsw_ct_from_entropy
(sa, entropy)
3
!=========================================================================
4
!
5
! Calculates Conservative Temperature with entropy as an input variable.
6
!
7
! SA = Absolute Salinity [ g/kg ]
8
! entropy = specific entropy [ deg C ]
9
!
10
! CT = Conservative Temperature (ITS-90) [ deg C ]
11
!--------------------------------------------------------------------------
12
13
use
gsw_mod_toolbox
,
only
:
gsw_ct_from_pt
,
gsw_pt_from_entropy
14
15
use
gsw_mod_kinds
16
17
implicit none
18
19
real (r8)
,
intent(in)
:: sa, entropy
20
21
real (r8)
::
gsw_ct_from_entropy
22
23
real (r8)
:: pt
24
25
pt =
gsw_pt_from_entropy
(sa,entropy)
26
gsw_ct_from_entropy
=
gsw_ct_from_pt
(sa,pt)
27
28
return
29
end function
30
31
!--------------------------------------------------------------------------
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_toolbox::gsw_ct_from_pt
Definition:
gsw_mod_toolbox.f90:375
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_toolbox::gsw_ct_from_entropy
Definition:
gsw_mod_toolbox.f90:368
gsw_mod_toolbox::gsw_pt_from_entropy
Definition:
gsw_mod_toolbox.f90:1002
gsw_ct_from_entropy
elemental real(r8) function gsw_ct_from_entropy(sa, entropy)
Definition:
gsw_ct_from_entropy.f90:3
src
fv3-bundle
gsw
toolbox
gsw_ct_from_entropy.f90
Generated on Tue Nov 6 2018 11:38:36 for FV3 Bundle by
1.8.14