8 subroutine steric_nl (etas, t, s, t0, s0, eta0, z)
48 real (r8),
dimension(:),
intent(in) :: t, s, t0, s0, eta0, z
49 real (r8),
intent(out) :: etas(1)
50 real (r8) :: rho0(1), rho(1), h
51 real (r8) :: p(1), lat=0.0
62 etas = etas + h*(rho-rho0)/rho0
68 subroutine steric_tl (detas, dt, ds, t0, s0, z)
95 real (r8),
dimension(:),
intent(in) :: dt, ds, t0, s0, z
96 real (r8),
intent(out) :: detas
97 real (r8),
allocatable,
dimension(:,:) :: jac
98 real (r8) :: rho0(1), rho(1), h, deriv(3)
99 real (r8) :: p(1), drhods, drhodt, drhodp
111 jac(1,k)=h*drhodt/rho0(1)
112 jac(2,k)=h*drhods/rho0(1)
113 detas = detas + jac(1,k)*dt(k) + jac(2,k)*ds(k)
119 subroutine steric_ad (detas, dt_ad, ds_ad, t0, s0, z)
144 real (r8),
dimension(:),
intent(in) :: t0, s0, z
145 real (r8),
intent(in) :: detas
146 real (r8),
allocatable,
dimension(:,:) :: jac
147 real (r8),
dimension(:),
intent(out) :: dt_ad, ds_ad
149 real (r8) :: rho0(1), rho(1), h, deriv(3)
150 real (r8) :: p(1), drhods, drhodt, drhodp
163 jac(1,k)=h*drhodt/rho0(1)
164 jac(2,k)=h*drhods/rho0(1)
165 dt_ad(k) = dt_ad(k) + jac(1,k)*detas
166 ds_ad(k) = ds_ad(k) + jac(2,k)*detas
subroutine, public steric_tl(detas, dt, ds, t0, s0, z)
subroutine, public steric_ad(detas, dt_ad, ds_ad, t0, s0, z)
subroutine, public steric_nl(etas, t, s, t0, s0, eta0, z)