7 IMPLICIT REAL*8 (a-h,o-z)
8 REAL*8 m,mij,y(25),savex(12),savexd(12)
10 common/creg/ m(4),x(12),xd(12),p(12),q(12),time4,
energy,epsr2,
11 &
xr(9),w(9),r(6),ta(6),mij(6),cm(10),rmax4,tmax,
12 & ds,
tstep,eps,nstep4,name4(4),kz15,kz27,nreg,nfn
13 common/tpr/
switch,gtype,gtype0
15 common/close/ rij(4,4),rcoll,qperi,
SIZE(4),ecoll3,ip(4)
16 common/ccoll/ qk(12),pk(12),icall,icoll,ndiss4
27 IF (time4.GT.0.0d0) go to 5
48 5
DO 50 isteps = 1,10000
54 CALL
difsy4(25,epsi,ds,s,y)
64 triple = (r(1) + r(2))*(r(2) + r(3))
72 IF (time4.GT.time0.AND.jc.EQ.0)
THEN
78 runav = 0.9*runav + 0.1*r(imin)
80 IF (iq.LT.0) go to 100
84 IF (icoll.LT.0) icall = 1
85 IF (r(imin).LT.rstar.AND.nstep4.GT.next)
THEN
86 IF (zmi3.GT.zmi2.AND.zmi2.LT.zmi1)
THEN
99 IF (r(im2).GT.rmax4.OR.time4.GT.tmax)
THEN
100 IF (r(imin).LT.0.01*runav) go to 50
106 IF ((gtype.NEQV.gtype0).OR.
switch)
THEN
107 tpr0 = r(1)*r(2)*r(3)
108 IF (gtype0) tpr0 = tpr0/(r(1)*r(2) + (r(1) + r(2))*r(3))
119 IF ((gtype.NEQV.gtype0).OR.
switch)
THEN
121 IF (gtype) tpr = tpr/(r(1)*r(2) + (r(1) + r(2))*r(3))
127 IF (isteps.LT.3.AND.ds.EQ.0.0d0) ds = 1.0e-2*dso
128 IF (ds.EQ.0.0d0) go to 120
134 120
IF (istart.GT.1)
RETURN
135 WRITE (6,125) nstep4, time4, r(ind(6)), rmax4
136 125
FORMAT (5x,
' RCHAIN RESTART: # T R6 RMAX4 ',i5,3f12.6)
145 ds = 0.1*tstep0/(r(1)*r(2)*r(3))
146 WRITE (6,135) icall,jc,icoll,ds
147 135
FORMAT (
' RESTART: ICALL JC ICOLL FACM DS ',3i4,1p,e9.1)