7 IMPLICIT REAL*8 (a-h,m,o-z)
8 common/azreg/ time3,tmax,q(8),p(8),r1,r2,r3,
energy,m(3),x3(3,3),
9 & xdot3(3,3),cm(10),c11,c12,c19,c20,c24,c25,
10 & nstep3,name3(3),kz15,kz27
11 common/azout/ mb,rb,ri,semi,semi1,e,e1
23 ridot = x3(1,i)*xdot3(1,i) + x3(2,i)*xdot3(2,i) +
29 ri = sqrt(x3(1,i)**2 + x3(2,i)**2 + x3(3,i)**2)
39 & (x3(k,3) - x3(k,im))*(xdot3(k,3) - xdot3(k,im))
40 vrel2 = vrel2 + (xdot3(k,3) - xdot3(k,im))**2
41 vi2 = vi2 + xdot3(k,i)**2
46 semi = 2.0d0/rb - vrel2/mb
48 e = sqrt((1.0d0 - rb/semi)**2 + rdot**2/(semi*mb))
52 semi1 = 2.0d0/ri - vi2/cm(7)
54 e1 = sqrt((1.0d0 - ri/semi1)**2 + (ri*ridot)**2/(semi1*cm(7)))
57 ratio = semi1*(1.0d0 - e1)/(semi*(1.0d0 + e))
83 xfac = (1.0 + q1)*(1.0 + e1)/sqrt(1.0 - e1)
85 xfac = 40.0*(1.0 + q1)
87 pcrit = 2.8*xfac**0.4*semi
88 pmin = semi1*(1.0d0 - e1)
91 IF (pcrit.LT.pmin.AND.e1.LT.1.0.AND.1./rb.LT.1./semi)
THEN
98 WRITE (6,20) semi, semi1, e, e1, ri, ratio, sp, pcrit, pmin
99 20
FORMAT (
' STABT: A A1 E E1 RI RATIO SP PCR PM ',
100 & 1p,2e10.2,0p,2f6.2,f9.5,2f6.2,1p,2e9.1)
102 ELSE IF (e1.GT.1.0.AND.1./ri.LT.1./(3.0*semi))
THEN