1 SUBROUTINE sintdy (T, K, YH, NYH, DKY, IFLAG)
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 CALL
xerrwd(
'SINTDY- K (=I1) illegal ',
100 1 30, 51, 0, 1, k, 0, 0, 0.0e0, 0.0e0)
103 90 CALL
xerrwd(
'SINTDY- T (=R1) illegal ',
104 1 30, 52, 0, 0, 0, 0, 1, t, 0.0e0)
106 1
' T not in interval TCUR - HU (= R1) to TCUR (=R2) ',
107 1 60, 52, 0, 0, 0, 0, 2, tp, tn)
subroutine xerrwd(MSG, NMES, NERR, LEVEL, NI, I1, I2, NR, R1, R2)
subroutine sintdy(T, K, YH, NYH, DKY, IFLAG)
may be zero for pure relative error test tem the relative tolerance must be greater than or equal to
OCTAVE_EXPORT octave_value_list etc The functions then dimension(columns)
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup abs(local error in x(i))<