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