1 subroutine suydam(ipsi, t0, tbb, tbf, fact, bal)
13 integer(itm_i4),
intent(in) :: ipsi
14 real(r8),
intent(in) :: t0, tbb, tbf, fact
15 character (len=25),
intent(out) :: bal
17 integer(itm_i4) :: i, n
18 real(r8) :: dbt, alp, a01, a11
19 real(r8) :: t1, t2, ts
20 real(r8) :: kp1, kp2, gp1, gp2
24 dbt = 4._r8 * asin(1._r8) / dble(ncpq - 1)
26 n = int((tbf - tbb) / dbt)
30 t2 = tbb - dbt / 2._r8
42 a11 = (kp2 + kp1) / dbt + 0.25_r8 * (gp1 + gp2) * dbt
43 a01 = - kp1 / dbt + 0.25_r8 * gp1 * dbt
44 if (i == 1) a01 = 0._r8
45 alp = a11 - a01**2 / alp
47 ts = (t1 + t2) / 2._r8
53 11
format(
' unstable at t = ',f8.3)
subroutine suydam_kgs(t, t0, cp, cq, ipsi)
subroutine suydam(ipsi, t0, tbb, tbf, fact, bal)