22 integer(itm_i4),
intent(in) :: ias
24 integer(itm_i4) :: i, j, ij, ij1, ij2
25 real(r8) :: sps2, zq, zt, zdp, zdq
34 allocate(cp0(npsi * ncpq))
35 allocate(cp1(npsi * ncpq))
36 allocate(cp2(npsi * ncpq))
37 allocate(cq0(npsi * ncpq))
38 allocate(cq1(npsi * ncpq))
41 sps2 = 2._r8 * cpsurf * cs(i)
47 ij = (i - 1) * nchi + j
48 ij1 = (i - 1) * ncpq + j
57 beta = -g12_hel(i, j) / g11_hel(i, j)
58 cp0(ij1) = 1._r8 * g33_hel(i, j) / g11_hel(i, j) + zq**2 &
59 * g11_hel(i, j) * beta**2 * g33_hel(i, j) / b02(ij)
60 cp1(ij1) = 2._r8 * beta * g11_hel(i, j) * (zdq * zq) / (sps2 &
61 / g33_hel(i, j) * b02(ij))
62 cp2(ij1) = g11_hel(i, j) * zdq**2 / (sps2**2 / g33_hel(i, j) &
64 cq0(ij1) = -zdp * zq**2 / g33_hel(i, j) / (sps2 * zt * b02(ij))**2 &
65 * ((2._r8 * zdp + ds_b02(ij)) * b02(ij) + sps2 * beta &
66 * g11_hel(i, j) * g33_hel(i, j) * dt_b02(ij))
67 cq1(ij1) = zdp * zdq * zq / (sps2 * b02(ij))**2 * dt_b02(ij)
70 ij2 = i * (2 * nchi - 1) - j + 1
76 else if (ias == 1 .and. j == 1)
then
subroutine suydam_pq(ias)