8 REAL*8 a(12),f2dot(3),f3dot(3)
14 IF (kcase.EQ.1) jlast = ntot - 1
29 rcrit2 = 25.0*rs(i)**2*(1.0 + 1.0/dfloat(nnb+1))
35 DO 60 j = ifirst,jlast
38 a(k) = x(k,j) - x(k,i)
40 rij2 = a(1)*a(1) + a(2)*a(2) + a(3)*a(3)
43 IF (rij2.GT.rcrit2.AND.j.NE.namej) go to 60
47 IF (j.GT.jcomp.OR.kcase.EQ.1) go to 30
52 IF (kcase.EQ.0.AND.time.GT.0.0d0)
THEN
53 IF (t0(j).LT.time) go to 30
71 a(k+6) = (d2r(k,j)*dt1r + d1r(k,j))*dtr + fr(k,j) +
72 & (d2(k,j)*dt1 + d1(k,j))*dt + fi(k,j)
73 a(k+9) = d2r(k,j)*dtr + d1r(k,j) + d2(k,j)*dt + d1(k,j)
77 a(k+3) = xdot(k,j) - xdot(k,i)
78 a(k+6) = a(k+6) - f(k,i)
79 a(k+9) = a(k+9) - fdot(k,i)
83 a14 = body(j)*a13*sqrt(a13)
84 a15 = (a(1)*a(4) + a(2)*a(5) + a(3)*a(6))*a13
89 a20 = (a(4)*a(4) + a(5)*a(5) + a(6)*a(6) + a(1)*a(7) +
90 & a(2)*a(8) + a(3)*a(9))*a13 + a16
93 a22 = (9.0*(a(4)*a(7) + a(5)*a(8) + a(6)*a(9)) +
94 & 3.0*(a(1)*a(10) + a(2)*a(11) + a(3)*a(12)))*a13 +
98 f1dotk = a(k+3) - a17*a(k)
99 f2dot(k) = (a(k+6) - a18*f1dotk - a20*a(k))*a14
100 f3dot(k) = (a(k+9) - a21*f1dotk - a22*a(k))*a14 -
107 d2r(k,i) = d2r(k,i) + f2dot(k)
108 d3r(k,i) = d3r(k,i) + f3dot(k)
112 d2(k,i) = d2(k,i) + f2dot(k)
113 d3(k,i) = d3(k,i) + f3dot(k)
126 IF (kz(14).GT.0)
THEN