FV3 Bundle
gsw_internal_energy_ice.f90
Go to the documentation of this file.
1
!==========================================================================
2
elemental function
gsw_internal_energy_ice
(t, p)
3
!==========================================================================
4
!
5
! Calculates the specific internal energy 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
! internal_energy_ice = specific internal energy (u) [J/kg]
12
!--------------------------------------------------------------------------
13
14
use
gsw_mod_toolbox
,
only
:
gsw_gibbs_ice
15
16
use
gsw_mod_teos10_constants
,
only
:
gsw_p0
,
gsw_t0
,
db2pa
17
18
use
gsw_mod_kinds
19
20
implicit none
21
22
real (r8)
,
intent(in)
:: t, p
23
24
real (r8)
::
gsw_internal_energy_ice
25
26
gsw_internal_energy_ice
=
gsw_gibbs_ice
(0,0,t,p) &
27
- (
gsw_t0
+ t)*
gsw_gibbs_ice
(1,0,t,p) &
28
- (
db2pa
*p +
gsw_p0
)*
gsw_gibbs_ice
(0,1,t,p)
29
30
return
31
end function
32
33
!--------------------------------------------------------------------------
gsw_mod_toolbox
Definition:
gsw_mod_toolbox.f90:1
gsw_mod_teos10_constants
Definition:
gsw_mod_teos10_constants.f90:2
gsw_mod_teos10_constants::gsw_p0
real(r8), parameter gsw_p0
Definition:
gsw_mod_teos10_constants.f90:32
gsw_internal_energy_ice
elemental real(r8) function gsw_internal_energy_ice(t, p)
Definition:
gsw_internal_energy_ice.f90:3
gsw_mod_toolbox::gsw_internal_energy_ice
Definition:
gsw_mod_toolbox.f90:705
gsw_mod_toolbox::gsw_gibbs_ice
Definition:
gsw_mod_toolbox.f90:633
gsw_mod_kinds
Definition:
gsw_mod_kinds.f90:2
gsw_mod_teos10_constants::db2pa
real(r8), parameter db2pa
Definition:
gsw_mod_teos10_constants.f90:9
gsw_mod_teos10_constants::gsw_t0
real(r8), parameter gsw_t0
Definition:
gsw_mod_teos10_constants.f90:28
src
fv3-bundle
gsw
toolbox
gsw_internal_energy_ice.f90
Generated on Tue Nov 6 2018 11:38:36 for FV3 Bundle by
1.8.14