13 IF (list(1,i1).GT.4.AND.dti.GT.dtmin) go to 30
17 semi = -0.5d0*body(i)/h(i-n)
18 tk = twopi*semi*sqrt(semi/body(i))
23 IF (step(j).GT.4.0*step(i)) go to 20
24 rij2 = (x(1,i) - x(1,j))**2 + (x(2,i) - x(2,j))**2 +
25 & (x(3,i) - x(3,j))**2
27 dt2 = 0.1*rij*sqrt(etai*rij/(body(i) + body(j)))
28 dt = 0.25d0*sqrt(etai)*rij*tk/semi
31 IF (dti.LT.dt) go to 20
35 IF (step(j).LT.dt) go to 20
36 IF (t0(j).EQ.time)
THEN
37 step(j) = 0.5d0*step(j)
38 tnew(j) = t0(j) + step(j)