8 parameter(dtm = 0.03125d0)
18 IF (stepr(j).LT.dtm.OR.j.EQ.i) go to 10
22 IF (list(k,j).GT.i) go to 2
23 IF (list(k,j).EQ.i) go to 10
28 rij(k) = x(k,i) - x(k,j)
29 vij(k) = xdot(k,i) - xdot(k,j)
30 rv = rv + rij(k)*vij(k)
35 IF (rv.GE.0.0d0) go to 10
40 5 dt = min(t0r(j) + stepr(j) - time,dt)
46 r2 = r2 + (rij(k) + vij(k)*dt)**2
52 IF (fi2.LT.0.04*fj2.OR.body(j).EQ.0.0d0) go to 10
55 IF (t0r(j) + 0.5*stepr(j).GE.tmin.AND.it.LT.5)
THEN
56 WRITE (29,8) j, sqrt(r2), sqrt(fi2/fj2), dt, stepr(j)
57 8
FORMAT (
' SHRINK J R FI/FJ DT STEP ',
58 & i6,f7.3,f6.2,1p,2e10.2)
60 stepr(j) = 0.5*stepr(j)
61 IF (step(j).GT.stepr(j))
THEN
63 tnew(j) = t0(j) + step(j)