FV3 Bundle
gsw_chem_potential_water_ice.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_chem_potential_water_ice
(t, p)
3
!==========================================================================
4
!
5
! Calculates the chemical potential of water in ice from in-situ
6
! temperature and pressure.
7
!
8
! t = in-situ temperature (ITS-90) [ deg C ]
9
! p = sea pressure [ dbar ]
10
! ( i.e. absolute pressure - 10.1325 dbar )
11
!
12
! chem_potential_water_ice = chemical potential of ice [ J/kg ]
13
!--------------------------------------------------------------------------
14
15
use
gsw_mod_toolbox
,
only
:
gsw_gibbs_ice
16
17
use
gsw_mod_kinds
18
19
implicit none
20
21
real (r8)
,
intent(in)
:: t, p
22
23
real (r8)
::
gsw_chem_potential_water_ice
24
25
gsw_chem_potential_water_ice
=
gsw_gibbs_ice
(0,0,t,p)
26
27
return
28
end function
29
30
!--------------------------------------------------------------------------
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_chem_potential_water_ice
elemental real(r8) function gsw_chem_potential_water_ice(t, p)
Definition:
gsw_chem_potential_water_ice.f90:3
gsw_mod_toolbox::gsw_gibbs_ice
Definition:
gsw_mod_toolbox.f90:633
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_toolbox::gsw_chem_potential_water_ice
Definition:
gsw_mod_toolbox.f90:280
src
fv3-bundle
gsw
toolbox
gsw_chem_potential_water_ice.f90
Generated on Tue Nov 6 2018 11:38:36 for FV3 Bundle by
1.8.14