5 SUBROUTINE datv (NEQ, Y, TN, YPRIME, SAVR, V, WGHT, YPTEM, RES,
6 * ires, psol, z, vtem, wp, iwp, cj, eplin, ier, nre, npsl,
78 INTEGER neq, ires, iwp, ier, nre, npsl, ipar
79 DOUBLE PRECISION y, tn, yprime, savr, v, wght, yptem, z, vtem,
81 dimension y(*), yprime(*), savr(*), v(*), wght(*), yptem(*),
82 1 z(*), vtem(*), wp(*), iwp(*), rpar(*), ipar(*)
84 DOUBLE PRECISION eplin
92 10 vtem(i) = v(i)/wght(i)
99 yptem(i) = yprime(i) + vtem(i)*cj
100 20 z(i) = y(i) + vtem(i)
106 CALL res(tn,z,yptem,cj,vtem,ires,rpar,ipar)
108 IF (ires .LT. 0)
RETURN
114 70 z(i) = vtem(i) - savr(i)
118 CALL psol(neq, tn, y, yprime, savr, yptem, cj, wght, wp, iwp,
119 1 z, eplin, ier, rpar, ipar)
121 IF (ier .NE. 0)
RETURN
126 90 z(i) = z(i)*wght(i)