FV3 Bundle
gsw_pot_enthalpy_ice_freezing.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_pot_enthalpy_ice_freezing
(sa, p)
3
!==========================================================================
4
!
5
! Calculates the potential enthalpy of ice at which seawater freezes.
6
!
7
! SA = Absolute Salinity [ g/kg ]
8
! p = sea pressure [ dbar ]
9
! ( i.e. absolute pressure - 10.1325 dbar )
10
!
11
! pot_enthalpy_ice_freezing = potential enthalpy of ice at freezing
12
! of seawater [ deg C ]
13
!--------------------------------------------------------------------------
14
15
use
gsw_mod_toolbox
,
only
:
gsw_pot_enthalpy_from_pt_ice
,
gsw_pt0_from_t_ice
16
use
gsw_mod_toolbox
,
only
:
gsw_t_freezing_exact
17
18
use
gsw_mod_kinds
19
20
implicit none
21
22
real (r8)
,
intent(in)
:: sa, p
23
24
real (r8)
::
gsw_pot_enthalpy_ice_freezing
25
26
real (r8)
:: pt0_ice, t_freezing
27
28
t_freezing =
gsw_t_freezing_exact
(sa,p,0.0_r8)
29
30
pt0_ice =
gsw_pt0_from_t_ice
(t_freezing,p)
31
32
gsw_pot_enthalpy_ice_freezing
=
gsw_pot_enthalpy_from_pt_ice
(pt0_ice)
33
34
return
35
end function
36
37
!--------------------------------------------------------------------------
gsw_mod_toolbox::gsw_t_freezing_exact
Definition:
gsw_mod_toolbox.f90:1450
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_toolbox::gsw_pot_enthalpy_ice_freezing
Definition:
gsw_mod_toolbox.f90:914
gsw_mod_toolbox::gsw_pt0_from_t_ice
Definition:
gsw_mod_toolbox.f90:981
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_pot_enthalpy_ice_freezing
elemental real(r8) function gsw_pot_enthalpy_ice_freezing(sa, p)
Definition:
gsw_pot_enthalpy_ice_freezing.f90:3
gsw_mod_toolbox::gsw_pot_enthalpy_from_pt_ice
Definition:
gsw_mod_toolbox.f90:900
src
fv3-bundle
gsw
toolbox
gsw_pot_enthalpy_ice_freezing.f90
Generated on Tue Nov 6 2018 11:39:00 for FV3 Bundle by
1.8.14