11 IF (kz(32).GT.0.AND.time.GE.tnext)
THEN
15 IF (abs(e(3)).LT.ecrit)
THEN
17 tdyn = 2.0*rscale/sqrt(2.0*zkin/zmass)
18 IF (2.0*dtadj.GT.tdyn.OR.time.LE.0.0d0) go to 5
26 WRITE (6,1) dtadj, deltat, qe, smax
27 1
FORMAT (/,5x,
'NEW INTERVALS: DTADJ =',f6.2,
28 &
' DELTAT =',f6.2,
' QE =',1p,e8.1,
45 IF (de.LT.5.0*qe) go to 30
48 IF (kz(2).LE.1.OR.ndump.GE.2)
THEN
50 10
FORMAT (/,9x,
'CALCULATIONS HALTED * * *')
53 IF (kz(1).NE.0.AND.kz(2).GE.1) CALL
mydump(1,1)
67 IF (kz(17).GT.1) etau = etacor*etau
68 dtmin = sqrt(etacor)*dtmin
69 smin = sqrt(etacor)*smin
70 WRITE (6,20) time+toff, etai, etar, etau
71 20
FORMAT (/,9x,
'RESTART * * * TIME =',f8.2,
' ETAI =',f7.3,
72 &
' ETAR =',f7.3,
' ETAU =',f7.3)
78 IF (kz(17).EQ.0) go to 50
85 IF (kz(17).GT.1) etau = etacor*etau
86 dtmin = sqrt(etacor)*dtmin
87 smin = sqrt(etacor)*smin
88 IF (etacor.LT.0.99)
WRITE (6,40) etai, etar, etau
89 40
FORMAT (8x,
'ETAI =',f7.3,
' ETAR =',f7.3,
' ETAU =',f7.3)
90 ELSE IF (de.LT.0.2*qe)
THEN
92 IF (time.GT.0.0d0)
THEN
93 etacor = min(1.2d0,eta0/etai)
96 IF (kz(17).GT.1) etau = etacor*etau
97 dtmin = sqrt(etacor)*dtmin
98 smin = sqrt(etacor)*smin
99 IF (etacor.GT.1.01)
WRITE (6,40) etai, etar, etau
104 50
IF (etacor.LT.1.0.AND.kz(2).GT.2)
THEN
105 etacor = sqrt(etacor)
106 DO 60 i = ifirst,ntot
107 IF (dmod(t0(i),0.5d0*step(i)).EQ.0.0d0)
THEN
108 step(i) = 0.5*step(i)
109 tnew(i) = t0(i) + step(i)
111 IF (dmod(t0r(i),0.5d0*stepr(i)).EQ.0.0d0)
THEN
112 stepr(i) = 0.5*stepr(i)