FV3 Bundle
gsw_alpha.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_alpha
(sa, ct, p)
3
!==========================================================================
4
!
5
! Calculates the thermal expansion coefficient of seawater with respect to
6
! Conservative Temperature using the computationally-efficient expression
7
! for specific volume in terms of SA, CT and p (Roquet et al., 2014).
8
!
9
! SA = Absolute Salinity [ g/kg ]
10
! CT = Conservative Temperature (ITS-90) [ deg C ]
11
! p = sea pressure [ dbar ]
12
! ( i.e. absolute pressure - 10.1325 dbar )
13
!
14
! alpha = thermal expansion coefficient [ 1/K ]
15
! with respect to Conservative Temperature
16
!--------------------------------------------------------------------------
17
18
use
gsw_mod_toolbox
,
only
:
gsw_specvol
19
20
use
gsw_mod_teos10_constants
,
only
:
gsw_sfac
,
offset
21
22
use
gsw_mod_specvol_coefficients
23
24
use
gsw_mod_kinds
25
26
implicit none
27
28
real (r8)
,
intent(in)
:: sa, ct, p
29
30
real (r8)
::
gsw_alpha
31
32
real (r8)
:: xs, ys, z, v_ct_part
33
34
xs = sqrt(
gsw_sfac
*sa +
offset
)
35
ys = ct*0.025_r8
36
z = p*1e-4_r8
37
38
v_ct_part =
a000
+ xs*(
a100
+ xs*(
a200
+ xs*(
a300
+ xs*(
a400
+
a500
*xs)))) &
39
+ ys*(
a010
+ xs*(
a110
+ xs*(
a210
+ xs*(
a310
+
a410
*xs))) &
40
+ ys*(
a020
+ xs*(
a120
+ xs*(
a220
+
a320
*xs)) + ys*(
a030
&
41
+ xs*(
a130
+
a230
*xs) + ys*(
a040
+
a140
*xs +
a050
*ys )))) &
42
+ z*(
a001
+ xs*(
a101
+ xs*(
a201
+ xs*(
a301
+
a401
*xs))) &
43
+ ys*(
a011
+ xs*(
a111
+ xs*(
a211
+
a311
*xs)) + ys*(
a021
&
44
+ xs*(
a121
+
a221
*xs) + ys*(
a031
+
a131
*xs +
a041
*ys))) &
45
+ z*(
a002
+ xs*(
a102
+ xs*(
a202
+
a302
*xs)) + ys*(
a012
&
46
+ xs*(
a112
+
a212
*xs) + ys*(
a022
+
a122
*xs +
a032
*ys)) &
47
+ z*(
a003
+
a103
*xs +
a013
*ys +
a004
*z)))
48
49
gsw_alpha
= 0.025_r8*v_ct_part/
gsw_specvol
(sa,ct,p)
50
51
return
52
end function
53
54
!--------------------------------------------------------------------------
gsw_mod_specvol_coefficients::a111
real(r8), parameter a111
Definition:
gsw_mod_specvol_coefficients.f90:32
gsw_mod_specvol_coefficients::a131
real(r8), parameter a131
Definition:
gsw_mod_specvol_coefficients.f90:38
gsw_mod_specvol_coefficients::a020
real(r8), parameter a020
Definition:
gsw_mod_specvol_coefficients.f90:18
gsw_mod_toolbox::gsw_specvol
Definition:
gsw_mod_toolbox.f90:1314
gsw_mod_specvol_coefficients::a401
real(r8), parameter a401
Definition:
gsw_mod_specvol_coefficients.f90:56
gsw_mod_specvol_coefficients::a110
real(r8), parameter a110
Definition:
gsw_mod_specvol_coefficients.f90:31
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_specvol_coefficients::a310
real(r8), parameter a310
Definition:
gsw_mod_specvol_coefficients.f90:52
gsw_mod_specvol_coefficients::a022
real(r8), parameter a022
Definition:
gsw_mod_specvol_coefficients.f90:20
gsw_mod_specvol_coefficients::a112
real(r8), parameter a112
Definition:
gsw_mod_specvol_coefficients.f90:33
gsw_mod_specvol_coefficients::a301
real(r8), parameter a301
Definition:
gsw_mod_specvol_coefficients.f90:50
gsw_mod_teos10_constants
Definition:
gsw_mod_teos10_constants.f90:2
gsw_mod_specvol_coefficients::a050
real(r8), parameter a050
Definition:
gsw_mod_specvol_coefficients.f90:26
gsw_mod_specvol_coefficients::a320
real(r8), parameter a320
Definition:
gsw_mod_specvol_coefficients.f90:54
gsw_mod_specvol_coefficients::a210
real(r8), parameter a210
Definition:
gsw_mod_specvol_coefficients.f90:43
gsw_mod_specvol_coefficients::a041
real(r8), parameter a041
Definition:
gsw_mod_specvol_coefficients.f90:25
gsw_mod_specvol_coefficients::a002
real(r8), parameter a002
Definition:
gsw_mod_specvol_coefficients.f90:11
gsw_mod_specvol_coefficients::a032
real(r8), parameter a032
Definition:
gsw_mod_specvol_coefficients.f90:23
gsw_mod_specvol_coefficients::a010
real(r8), parameter a010
Definition:
gsw_mod_specvol_coefficients.f90:14
gsw_mod_specvol_coefficients::a011
real(r8), parameter a011
Definition:
gsw_mod_specvol_coefficients.f90:15
gsw_mod_specvol_coefficients::a013
real(r8), parameter a013
Definition:
gsw_mod_specvol_coefficients.f90:17
gsw_mod_specvol_coefficients::a103
real(r8), parameter a103
Definition:
gsw_mod_specvol_coefficients.f90:30
gsw_mod_specvol_coefficients::a004
real(r8), parameter a004
Definition:
gsw_mod_specvol_coefficients.f90:13
gsw_mod_teos10_constants::offset
real(r8), parameter offset
Definition:
gsw_mod_teos10_constants.f90:49
gsw_mod_specvol_coefficients::a500
real(r8), parameter a500
Definition:
gsw_mod_specvol_coefficients.f90:58
gsw_mod_specvol_coefficients::a030
real(r8), parameter a030
Definition:
gsw_mod_specvol_coefficients.f90:21
gsw_mod_specvol_coefficients::a202
real(r8), parameter a202
Definition:
gsw_mod_specvol_coefficients.f90:42
gsw_mod_specvol_coefficients::a400
real(r8), parameter a400
Definition:
gsw_mod_specvol_coefficients.f90:55
gsw_mod_specvol_coefficients::a031
real(r8), parameter a031
Definition:
gsw_mod_specvol_coefficients.f90:22
gsw_mod_specvol_coefficients::a220
real(r8), parameter a220
Definition:
gsw_mod_specvol_coefficients.f90:46
gsw_mod_specvol_coefficients::a300
real(r8), parameter a300
Definition:
gsw_mod_specvol_coefficients.f90:49
gsw_mod_specvol_coefficients::a140
real(r8), parameter a140
Definition:
gsw_mod_specvol_coefficients.f90:39
gsw_mod_specvol_coefficients::a001
real(r8), parameter a001
Definition:
gsw_mod_specvol_coefficients.f90:10
gsw_mod_specvol_coefficients::a302
real(r8), parameter a302
Definition:
gsw_mod_specvol_coefficients.f90:51
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_specvol_coefficients::a102
real(r8), parameter a102
Definition:
gsw_mod_specvol_coefficients.f90:29
gsw_mod_specvol_coefficients::a100
real(r8), parameter a100
Definition:
gsw_mod_specvol_coefficients.f90:27
gsw_alpha
elemental real(r8) function gsw_alpha(sa, ct, p)
Definition:
gsw_alpha.f90:3
gsw_mod_specvol_coefficients::a003
real(r8), parameter a003
Definition:
gsw_mod_specvol_coefficients.f90:12
gsw_mod_specvol_coefficients::a200
real(r8), parameter a200
Definition:
gsw_mod_specvol_coefficients.f90:40
gsw_mod_specvol_coefficients::a101
real(r8), parameter a101
Definition:
gsw_mod_specvol_coefficients.f90:28
gsw_mod_specvol_coefficients::a410
real(r8), parameter a410
Definition:
gsw_mod_specvol_coefficients.f90:57
gsw_mod_specvol_coefficients::a311
real(r8), parameter a311
Definition:
gsw_mod_specvol_coefficients.f90:53
gsw_mod_specvol_coefficients::a040
real(r8), parameter a040
Definition:
gsw_mod_specvol_coefficients.f90:24
gsw_mod_specvol_coefficients::a120
real(r8), parameter a120
Definition:
gsw_mod_specvol_coefficients.f90:34
gsw_mod_teos10_constants::gsw_sfac
real(r8), parameter gsw_sfac
Definition:
gsw_mod_teos10_constants.f90:45
gsw_mod_specvol_coefficients::a221
real(r8), parameter a221
Definition:
gsw_mod_specvol_coefficients.f90:47
gsw_mod_specvol_coefficients::a230
real(r8), parameter a230
Definition:
gsw_mod_specvol_coefficients.f90:48
gsw_mod_specvol_coefficients::a212
real(r8), parameter a212
Definition:
gsw_mod_specvol_coefficients.f90:45
gsw_mod_specvol_coefficients::a121
real(r8), parameter a121
Definition:
gsw_mod_specvol_coefficients.f90:35
gsw_mod_toolbox::gsw_alpha
Definition:
gsw_mod_toolbox.f90:224
gsw_mod_specvol_coefficients::a012
real(r8), parameter a012
Definition:
gsw_mod_specvol_coefficients.f90:16
gsw_mod_specvol_coefficients::a130
real(r8), parameter a130
Definition:
gsw_mod_specvol_coefficients.f90:37
gsw_mod_specvol_coefficients::a122
real(r8), parameter a122
Definition:
gsw_mod_specvol_coefficients.f90:36
gsw_mod_specvol_coefficients::a211
real(r8), parameter a211
Definition:
gsw_mod_specvol_coefficients.f90:44
gsw_mod_specvol_coefficients::a201
real(r8), parameter a201
Definition:
gsw_mod_specvol_coefficients.f90:41
gsw_mod_specvol_coefficients::a000
real(r8), parameter a000
Definition:
gsw_mod_specvol_coefficients.f90:9
gsw_mod_specvol_coefficients::a021
real(r8), parameter a021
Definition:
gsw_mod_specvol_coefficients.f90:19
gsw_mod_specvol_coefficients
Definition:
gsw_mod_specvol_coefficients.f90:2
src
fv3-bundle
gsw
toolbox
gsw_alpha.f90
Generated on Tue Nov 6 2018 11:38:36 for FV3 Bundle by
1.8.14