Loading [MathJax]/extensions/tex2jax.js
FV3 Bundle
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
f
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
o
p
r
s
t
v
+
Files
File List
+
File Members
+
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
!
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
!
$
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
r
s
t
u
w
Typedefs
+
Macros
_
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
Modules
Pages
gsw_sigma4.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_sigma4
(sa, ct)
3
!==========================================================================
4
!
5
! Calculates potential density anomaly with reference pressure of 4000 dbar,
6
! this being this particular potential density minus 1000 kg/m^3. This
7
! function has inputs of Absolute Salinity and Conservative Temperature.
8
!
9
! sa : Absolute Salinity [g/kg]
10
! ct : Conservative Temperature [deg C]
11
!
12
! gsw_sigma4 : potential density anomaly with reference pressure of 4000
13
!--------------------------------------------------------------------------
14
15
use
gsw_mod_toolbox
,
only
:
gsw_rho
16
17
use
gsw_mod_kinds
18
19
implicit none
20
21
real (r8)
,
intent(in)
:: sa, ct
22
23
real (r8)
::
gsw_sigma4
24
25
gsw_sigma4
=
gsw_rho
(sa,ct,4e3_r8) - 1e3_r8
26
27
return
28
end function
29
30
!--------------------------------------------------------------------------
gsw_mod_toolbox::gsw_rho
Definition:
gsw_mod_toolbox.f90:1052
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_toolbox::gsw_sigma4
Definition:
gsw_mod_toolbox.f90:1244
gsw_sigma4
elemental real(r8) function gsw_sigma4(sa, ct)
Definition:
gsw_sigma4.f90:3
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
src
fv3-bundle
gsw
toolbox
gsw_sigma4.f90
Generated on Tue Nov 6 2018 11:39:00 for FV3 Bundle by
1.8.14