FV3 Bundle
gsw_beta.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_beta
(sa, ct, p)
3
!==========================================================================
4
!
5
! Calculates the saline (i.e. haline) contraction coefficient of seawater
6
! at constant Conservative Temperature using the computationally-efficient
7
! expression for specific volume in terms of SA, CT and p
8
! (Roquet et al., 2014).
9
!
10
! SA = Absolute Salinity [ g/kg ]
11
! CT = Conservative Temperature (ITS-90) [ deg C ]
12
! p = sea pressure [ dbar ]
13
! ( i.e. absolute pressure - 10.1325 dbar )
14
!
15
! beta = saline contraction coefficient [ kg/g ]
16
! at constant Conservative Temperature
17
!--------------------------------------------------------------------------
18
19
use
gsw_mod_toolbox
,
only
:
gsw_specvol
20
21
use
gsw_mod_teos10_constants
,
only
:
gsw_sfac
,
offset
22
23
use
gsw_mod_specvol_coefficients
24
25
use
gsw_mod_kinds
26
27
implicit none
28
29
real (r8)
,
intent(in)
:: sa, ct, p
30
31
real (r8)
::
gsw_beta
32
33
real (r8)
:: xs, ys, z, v_sa_part
34
35
xs = sqrt(
gsw_sfac
*sa +
offset
)
36
ys = ct*0.025_r8
37
z = p*1e-4_r8
38
39
v_sa_part =
b000
+ xs*(
b100
+ xs*(
b200
+ xs*(
b300
+ xs*(
b400
+
b500
*xs)))) &
40
+ ys*(
b010
+ xs*(
b110
+ xs*(
b210
+ xs*(
b310
+
b410
*xs))) &
41
+ ys*(
b020
+ xs*(
b120
+ xs*(
b220
+
b320
*xs)) + ys*(
b030
&
42
+ xs*(
b130
+
b230
*xs) + ys*(
b040
+
b140
*xs +
b050
*ys)))) &
43
+ z*(
b001
+ xs*(
b101
+ xs*(
b201
+ xs*(
b301
+
b401
*xs))) &
44
+ ys*(
b011
+ xs*(
b111
+ xs*(
b211
+
b311
*xs)) + ys*(
b021
&
45
+ xs*(
b121
+
b221
*xs) + ys*(
b031
+
b131
*xs +
b041
*ys))) &
46
+ z*(
b002
+ xs*(
b102
+ xs*(
b202
+
b302
*xs))+ ys*(
b012
&
47
+ xs*(
b112
+
b212
*xs) + ys*(
b022
+
b122
*xs +
b032
*ys)) &
48
+ z*(
b003
+
b103
*xs +
b013
*ys +
b004
*z)))
49
50
gsw_beta
= -v_sa_part*0.5_r8*
gsw_sfac
/(
gsw_specvol
(sa,ct,p)*xs)
51
52
return
53
end function
54
55
!--------------------------------------------------------------------------
gsw_mod_specvol_coefficients::b122
real(r8), parameter b122
Definition:
gsw_mod_specvol_coefficients.f90:106
gsw_mod_specvol_coefficients::b120
real(r8), parameter b120
Definition:
gsw_mod_specvol_coefficients.f90:72
gsw_mod_specvol_coefficients::b140
real(r8), parameter b140
Definition:
gsw_mod_specvol_coefficients.f90:74
gsw_mod_specvol_coefficients::b040
real(r8), parameter b040
Definition:
gsw_mod_specvol_coefficients.f90:67
gsw_mod_specvol_coefficients::b130
real(r8), parameter b130
Definition:
gsw_mod_specvol_coefficients.f90:73
gsw_mod_specvol_coefficients::b031
real(r8), parameter b031
Definition:
gsw_mod_specvol_coefficients.f90:88
gsw_mod_specvol_coefficients::b211
real(r8), parameter b211
Definition:
gsw_mod_specvol_coefficients.f90:95
gsw_mod_toolbox::gsw_specvol
Definition:
gsw_mod_toolbox.f90:1314
gsw_mod_specvol_coefficients::b111
real(r8), parameter b111
Definition:
gsw_mod_specvol_coefficients.f90:91
gsw_mod_specvol_coefficients::b210
real(r8), parameter b210
Definition:
gsw_mod_specvol_coefficients.f90:76
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_specvol_coefficients::b004
real(r8), parameter b004
Definition:
gsw_mod_specvol_coefficients.f90:62
gsw_mod_specvol_coefficients::b021
real(r8), parameter b021
Definition:
gsw_mod_specvol_coefficients.f90:87
gsw_mod_toolbox::gsw_beta
Definition:
gsw_mod_toolbox.f90:252
gsw_mod_specvol_coefficients::b013
real(r8), parameter b013
Definition:
gsw_mod_specvol_coefficients.f90:64
gsw_mod_specvol_coefficients::b221
real(r8), parameter b221
Definition:
gsw_mod_specvol_coefficients.f90:96
gsw_mod_specvol_coefficients::b311
real(r8), parameter b311
Definition:
gsw_mod_specvol_coefficients.f90:98
gsw_mod_specvol_coefficients::b112
real(r8), parameter b112
Definition:
gsw_mod_specvol_coefficients.f90:105
gsw_mod_specvol_coefficients::b410
real(r8), parameter b410
Definition:
gsw_mod_specvol_coefficients.f90:83
gsw_mod_teos10_constants
Definition:
gsw_mod_teos10_constants.f90:2
gsw_mod_specvol_coefficients::b300
real(r8), parameter b300
Definition:
gsw_mod_specvol_coefficients.f90:79
gsw_mod_specvol_coefficients::b012
real(r8), parameter b012
Definition:
gsw_mod_specvol_coefficients.f90:101
gsw_mod_specvol_coefficients::b310
real(r8), parameter b310
Definition:
gsw_mod_specvol_coefficients.f90:80
gsw_mod_specvol_coefficients::b011
real(r8), parameter b011
Definition:
gsw_mod_specvol_coefficients.f90:86
gsw_mod_specvol_coefficients::b302
real(r8), parameter b302
Definition:
gsw_mod_specvol_coefficients.f90:109
gsw_mod_specvol_coefficients::b320
real(r8), parameter b320
Definition:
gsw_mod_specvol_coefficients.f90:81
gsw_mod_specvol_coefficients::b020
real(r8), parameter b020
Definition:
gsw_mod_specvol_coefficients.f90:65
gsw_mod_specvol_coefficients::b131
real(r8), parameter b131
Definition:
gsw_mod_specvol_coefficients.f90:93
gsw_mod_teos10_constants::offset
real(r8), parameter offset
Definition:
gsw_mod_teos10_constants.f90:49
gsw_mod_specvol_coefficients::b301
real(r8), parameter b301
Definition:
gsw_mod_specvol_coefficients.f90:97
gsw_mod_specvol_coefficients::b400
real(r8), parameter b400
Definition:
gsw_mod_specvol_coefficients.f90:82
gsw_mod_specvol_coefficients::b230
real(r8), parameter b230
Definition:
gsw_mod_specvol_coefficients.f90:78
gsw_mod_specvol_coefficients::b500
real(r8), parameter b500
Definition:
gsw_mod_specvol_coefficients.f90:84
gsw_mod_specvol_coefficients::b220
real(r8), parameter b220
Definition:
gsw_mod_specvol_coefficients.f90:77
gsw_mod_specvol_coefficients::b212
real(r8), parameter b212
Definition:
gsw_mod_specvol_coefficients.f90:108
gsw_mod_specvol_coefficients::b050
real(r8), parameter b050
Definition:
gsw_mod_specvol_coefficients.f90:68
gsw_mod_specvol_coefficients::b041
real(r8), parameter b041
Definition:
gsw_mod_specvol_coefficients.f90:89
gsw_mod_specvol_coefficients::b000
real(r8), parameter b000
Definition:
gsw_mod_specvol_coefficients.f90:60
gsw_mod_specvol_coefficients::b002
real(r8), parameter b002
Definition:
gsw_mod_specvol_coefficients.f90:100
gsw_mod_specvol_coefficients::b202
real(r8), parameter b202
Definition:
gsw_mod_specvol_coefficients.f90:107
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_specvol_coefficients::b121
real(r8), parameter b121
Definition:
gsw_mod_specvol_coefficients.f90:92
gsw_mod_specvol_coefficients::b010
real(r8), parameter b010
Definition:
gsw_mod_specvol_coefficients.f90:63
gsw_mod_specvol_coefficients::b032
real(r8), parameter b032
Definition:
gsw_mod_specvol_coefficients.f90:103
gsw_mod_specvol_coefficients::b201
real(r8), parameter b201
Definition:
gsw_mod_specvol_coefficients.f90:94
gsw_mod_specvol_coefficients::b022
real(r8), parameter b022
Definition:
gsw_mod_specvol_coefficients.f90:102
gsw_mod_specvol_coefficients::b110
real(r8), parameter b110
Definition:
gsw_mod_specvol_coefficients.f90:71
gsw_mod_specvol_coefficients::b102
real(r8), parameter b102
Definition:
gsw_mod_specvol_coefficients.f90:104
gsw_mod_specvol_coefficients::b103
real(r8), parameter b103
Definition:
gsw_mod_specvol_coefficients.f90:70
gsw_mod_teos10_constants::gsw_sfac
real(r8), parameter gsw_sfac
Definition:
gsw_mod_teos10_constants.f90:45
gsw_mod_specvol_coefficients::b101
real(r8), parameter b101
Definition:
gsw_mod_specvol_coefficients.f90:90
gsw_mod_specvol_coefficients::b401
real(r8), parameter b401
Definition:
gsw_mod_specvol_coefficients.f90:99
gsw_mod_specvol_coefficients::b100
real(r8), parameter b100
Definition:
gsw_mod_specvol_coefficients.f90:69
gsw_mod_specvol_coefficients::b030
real(r8), parameter b030
Definition:
gsw_mod_specvol_coefficients.f90:66
gsw_mod_specvol_coefficients::b001
real(r8), parameter b001
Definition:
gsw_mod_specvol_coefficients.f90:85
gsw_beta
elemental real(r8) function gsw_beta(sa, ct, p)
Definition:
gsw_beta.f90:3
gsw_mod_specvol_coefficients::b200
real(r8), parameter b200
Definition:
gsw_mod_specvol_coefficients.f90:75
gsw_mod_specvol_coefficients
Definition:
gsw_mod_specvol_coefficients.f90:2
gsw_mod_specvol_coefficients::b003
real(r8), parameter b003
Definition:
gsw_mod_specvol_coefficients.f90:61
src
fv3-bundle
gsw
toolbox
gsw_beta.f90
Generated on Tue Nov 6 2018 11:38:36 for FV3 Bundle by
1.8.14