8 common/slow0/ range,islow(10)
9 REAL*8 ui(4),rdot(3),v(4),a1(3,4)
13 IF (body(n+j).LE.0.0d0) go to 40
19 a3 = a2*(time - t0(j1))
20 IF (kslow(j).GT.1)
THEN
22 a3 = a3/float(islow(imod))
26 IF (rij2.GT.625.0*r(j)**2)
THEN
28 dtu = (1.0 - 0.5d0*tdot2(j)*a2*a3)*a3
29 IF (abs(dtu).GT.dtau(j)) dtu = dtau(j)
33 ui(k) = (fu(k,j)*dtu + udot(k,j))*dtu + u0(k,j)
34 v(k) = (3.0*fudot(k,j)*dtu + 2.0*fu(k,j))*dtu + udot(k,j)
38 a4 = 3.0d0*tdot2(j)**2*a2 - tdot3(j)
39 dtu = ((one6*a4*a3 - 0.5d0*tdot2(j))*a2*a3 + 1.0)*a3
41 IF (dtu.GT.dtau(j)) dtu = 0.8*dtau(j)
42 IF (list(1,j1).EQ.0) dtu = 0.0
48 ui(k) = (((fudot2(k,j)*dtu1 + fudot(k,j))*dtu +
49 & fu(k,j))*dtu + udot(k,j))*dtu + u0(k,j)
50 v(k) = ((fudot2(k,j)*dtu2 + 3.0d0*fudot(k,j))*dtu +
51 & 2.0d0*fu(k,j))*dtu + udot(k,j)
56 q1 = ui(1)**2 - ui(2)**2 - ui(3)**2 + ui(4)**2
57 q2 = ui(1)*ui(2) - ui(3)*ui(4)
58 q3 = ui(1)*ui(3) + ui(2)*ui(4)
62 a2 = body(j2)/body(j3)
65 x(1,j1) = x(1,j3) + a2*q1
66 x(2,j1) = x(2,j3) + a2*q2
67 x(3,j1) = x(3,j3) + a2*q3
68 x(1,j2) = x(1,j1) - q1
69 x(2,j2) = x(2,j1) - q2
70 x(3,j2) = x(3,j1) - q3
74 ri = ui(1)**2 + ui(2)**2 + ui(3)**2 + ui(4)**2
81 rdot(l) = rdot(l) + a1(l,k)*v(k)*rinv
86 xdot(1,j1) = xdot(1,j3) + a2*rdot(1)
87 xdot(2,j1) = xdot(2,j3) + a2*rdot(2)
88 xdot(3,j1) = xdot(3,j3) + a2*rdot(3)
89 xdot(1,j2) = xdot(1,j1) - rdot(1)
90 xdot(2,j2) = xdot(2,j1) - rdot(2)
91 xdot(3,j2) = xdot(3,j1) - rdot(3)