1 SUBROUTINE sintdy (T, K, YH, NYH, DKY, IFLAG)
44 dimension yh(nyh,*), dky(*)
45 INTEGER INIT, MXSTEP, MXHNIL, NHNIL, NSLAST, CNYH,
46 1 IALTH, IPUP, LMAX, MEO, NQNYH, NSLP,
47 1 ICF, IERPJ, IERSL, JCUR, JSTART, KFLAG, L,
48 2 LYH, LEWT, LACOR, LSAVF, LWM, LIWM, METH, MITER,
49 3 MAXORD, MAXCOR, MSBP, MXNCF, N, NQ, NST, NFE, NJE, NQU
50 REAL CONIT, CRATE, EL, ELCO, HOLD, RMAX, TESCO,
51 1 CCMAX, EL0, H, HMIN, HMXI, HU, RC, TN, UROUND
52 COMMON /sls001/ conit, crate, el(13), elco(13,12),
53 1 hold, rmax, tesco(3,12),
54 1 ccmax, el0, h, hmin, hmxi, hu, rc, tn, uround,
55 2 init, mxstep, mxhnil, nhnil, nslast, cnyh,
56 3 ialth, ipup, lmax, meo, nqnyh, nslp,
57 3 icf, ierpj, iersl, jcur, jstart, kflag, l,
58 4 lyh, lewt, lacor, lsavf, lwm, liwm, meth, miter,
59 5 maxord, maxcor, msbp, mxncf, n, nq, nst, nfe, nje, nqu
60 INTEGER I, IC, J, JB, JB2, JJ, JJ1, JP1
66 IF (k .LT. 0 .OR. k .GT. nq)
GO TO 80
67 tp = tn - hu - 100.0e0*uround*sign(abs(tn) + abs(hu), hu)
68 IF ((t-tp)*(t-tn) .GT. 0.0e0)
GO TO 90
72 IF (k .EQ. 0)
GO TO 15
79 IF (k .EQ. nq)
GO TO 55
85 IF (k .EQ. 0)
GO TO 35
91 40 dky(i) = c*yh(i,jp1) + s*dky(i)
99 80 msg =
'SINTDY- K (=I1) illegal '
100 CALL xerrwv (msg, 30, 51, 0, 1, k, 0, 0, 0.0e0, 0.0e0)
103 90 msg =
'SINTDY- T (=R1) illegal '
104 CALL xerrwv (msg, 30, 52, 0, 0, 0, 0, 1, t, 0.0e0)
105 msg=
' T not in interval TCUR - HU (= R1) to TCUR (=R2) '
106 CALL xerrwv (msg, 60, 52, 0, 0, 0, 0, 2, tp, tn)
subroutine sintdy(T, K, YH, NYH, DKY, IFLAG)
subroutine xerrwv(MSG, NMES, NERR, LEVEL, NI, I1, I2, NR, R1, R2)