12 IF (kcase.EQ.2) go to 20
13 IF (kcase.EQ.3) go to 10
22 a(k) = x(k,i) - x(k,j)
23 a(k+3) = xdot(k,i) - xdot(k,j)
27 a8 = body(i)/(rij2*sqrt(rij2))
29 a(k+3) = (a(k+3) - 3.0*a7*a(k)/rij2)*a8
30 f(k,j) = f(k,j) - 0.5*a(k)*a8
31 fi(k,j) = fi(k,j) - a(k)*a8
32 fdot(k,j) = fdot(k,j) - one6*a(k+3)
33 d1(k,j) = d1(k,j) - a(k+3)
38 10
IF (i.GT.ntot) go to 50
45 x0dot(k,j) = x0dot(k,j1)
46 xdot(k,j) = xdot(k,j1)
48 fdot(k,j) = fdot(k,j1)
50 fidot(k,j) = fidot(k,j1)
56 frdot(k,j) = frdot(k,j1)
65 radius(j) = radius(j1)
71 zlmsty(j) = zlmsty(j1)
82 IF (j.LE.ifirst.AND.nnb.EQ.1) nnb = 2
84 list(l,j) = list(l,j1)
91 20
DO 30 jpair = i,npairs
95 u0(k,jpair) = u0(k,jp1)
96 udot(k,jpair) = udot(k,jp1)
97 fu(k,jpair) = fu(k,jp1)
98 fudot(k,jpair) = fudot(k,jp1)
99 fudot2(k,jpair) = fudot2(k,jp1)
100 fudot3(k,jpair) = fudot3(k,jp1)
101 sf(k,jpair) = sf(k,jp1)
102 fp0(k,jpair) = fp0(k,jp1)
103 fd0(k,jpair) = fd0(k,jp1)
108 dtau(jpair) = dtau(jp1)
109 tdot2(jpair) = tdot2(jp1)
110 tdot3(jpair) = tdot3(jp1)
111 gamma(jpair) = gamma(jp1)
113 hdot(jpair) = hdot(jp1)
114 hdot2(jpair) = hdot2(jp1)
115 hdot3(jpair) = hdot3(jp1)
116 hdot4(jpair) = hdot4(jp1)
117 kslow(jpair) = kslow(jp1)
118 sf(5,jpair) = sf(5,jp1)
119 sf(6,jpair) = sf(6,jp1)
120 sf(7,jpair) = sf(7,jp1)