26 real (r8),
intent(in) :: sa, p
30 real (r8) :: p_r, sa_r, x
32 real (r8),
parameter :: c0 = -3.333548730778702e5_r8
33 real (r8),
parameter :: c1 = -1.249490228128056e4_r8
34 real (r8),
parameter :: c2 = 0.891189273859881e4_r8
35 real (r8),
parameter :: c3 = -2.405994758887321e4_r8
36 real (r8),
parameter :: c4 = 3.217945710496395e4_r8
37 real (r8),
parameter :: c5 = -2.374817375023954e4_r8
38 real (r8),
parameter :: c6 = 0.651630522289954e4_r8
39 real (r8),
parameter :: c7 = -2.034535061416256e4_r8
40 real (r8),
parameter :: c8 = -0.252580687014574e4_r8
41 real (r8),
parameter :: c9 = 0.021290274388826e4_r8
42 real (r8),
parameter :: c10 = 0.315423710959628e3_r8
43 real (r8),
parameter :: c11 = -0.239518382138314e3_r8
44 real (r8),
parameter :: c12 = 0.379377450285737e3_r8
45 real (r8),
parameter :: c13 = 0.822414256564615e3_r8
46 real (r8),
parameter :: c14 = -1.781443326566310e3_r8
47 real (r8),
parameter :: c15 = -0.160245473297112e3_r8
48 real (r8),
parameter :: c16 = -1.923856387576336e3_r8
49 real (r8),
parameter :: c17 = 2.522158744711316e3_r8
50 real (r8),
parameter :: c18 = 0.268604113069031e3_r8
51 real (r8),
parameter :: c19 = 0.967023925992424e3_r8
52 real (r8),
parameter :: c20 = -1.052684746354551e3_r8
53 real (r8),
parameter :: c21 = -0.184147500983788e3_r8
54 real (r8),
parameter :: c22 = -0.263384562367307e3_r8
61 c0 + sa_r*(c1 + x*(c2 + x*(c3 + x*(c4 + x*(c5 + c6*x))))) &
62 + p_r*(c7 + p_r*(c8 + c9*p_r)) + sa_r*p_r*(c10 + p_r*(c12 &
63 + p_r*(c15 + c21*sa_r)) + sa_r*(c13 + c17*p_r + c19*sa_r) &
64 + x*(c11 + p_r*(c14 + c18*p_r) + sa_r*(c16 + c20*p_r + c22*sa_r)))
elemental real(r8) function gsw_pot_enthalpy_ice_freezing_poly(sa, p)