FV3 Bundle
gsw_rho_ice.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_rho_ice
(t, p)
3
!==========================================================================
4
!
5
! Calculates in-situ density of ice from in-situ temperature and pressure.
6
! Note that the output, rho_ice, is density, not density anomaly; that
7
! is, 1000 kg/m^3 is not subracted from it.
8
!
9
! t = in-situ temperature (ITS-90) [ deg C ]
10
! p = sea pressure [ dbar ]
11
! ( i.e. absolute pressure - 10.1325 dbar )
12
!
13
! rho_ice = in-situ density of ice (not density anomaly) [ kg/m^3 ]
14
!--------------------------------------------------------------------------
15
16
use
gsw_mod_toolbox
,
only
:
gsw_gibbs_ice
17
18
use
gsw_mod_kinds
19
20
implicit none
21
22
real (r8)
,
intent(in)
:: t, p
23
24
real (r8)
::
gsw_rho_ice
25
26
gsw_rho_ice
= 1.0_r8/
gsw_gibbs_ice
(0,1,t,p)
27
28
return
29
end function
30
31
!--------------------------------------------------------------------------
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_toolbox::gsw_rho_ice
Definition:
gsw_mod_toolbox.f90:1092
gsw_mod_toolbox::gsw_gibbs_ice
Definition:
gsw_mod_toolbox.f90:633
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_rho_ice
elemental real(r8) function gsw_rho_ice(t, p)
Definition:
gsw_rho_ice.f90:3
src
fv3-bundle
gsw
toolbox
gsw_rho_ice.f90
Generated on Tue Nov 6 2018 11:39:00 for FV3 Bundle by
1.8.14