FV3 Bundle
gsw_cp_ice.f90
Go to the documentation of this file.
1 !==========================================================================
2 elemental function gsw_cp_ice (t, p)
3 !==========================================================================
4 !
5 ! Calculates the isobaric heat capacity of seawater.
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 ! gsw_cp_ice = heat capacity of ice [J kg^-1 K^-1]
12 !--------------------------------------------------------------------------
13 
15 
17 
18 use gsw_mod_kinds
19 
20 implicit none
21 
22 real (r8), intent(in) :: t, p
23 
24 real (r8) :: gsw_cp_ice
25 
26 gsw_cp_ice = -(t + gsw_t0)*gsw_gibbs_ice(2,0,t,p)
27 
28 end function
29 
30 !--------------------------------------------------------------------------
elemental real(r8) function gsw_cp_ice(t, p)
Definition: gsw_cp_ice.f90:3