1 SUBROUTINE chaos0(QPERI,ECC,EB0,ZJ0,M1,M2,S1,S2,W,ECRIT,AR,BR,
11 IMPLICIT REAL*8 (a-h,m,o-z)
13 DATA c0,c1,c2,c3,c4,c5
14 & /-1.763e-03,0.1277,-3.743e-03,3.525e-03,-6.179e-04,2.744e-05/
16 DATA a0,a1,a2,a3 /0.079,-0.022,1.275,-0.670/
20 p = ((m2/m1)*w(2)/w(1))**0.4*(s1/s2)
36 cj = zmu*sqrt(m1 + m2)
39 rp = 0.5*qperi*(1.0 + ecc)
42 y = log((2*rp/(cb*s))**5*(w2/(1.0 + m21))**2)
43 ec = ((((c5*y + c4)*y + c3)*y + c2)*y + c1)*y + c0
48 ecdis = ((a3*ecc + a2)*ecc + a1)*ecc + a0
54 IF (ecc.LT.ec.AND.idis.EQ.0.AND.ecc.LT.1.0)
THEN
60 rc = 2.0*rp/(1.0 + ec)
61 ecrit = ce*(ec - 1.0)/rc
64 alf2 = (2.0/sqrt(w2))*sqrt(s**3/m)
65 cfac = (2.0*ecrit - eb0)/ce
66 yfac = (zj0 + 2.0*alf2*(ecrit - eb0))/cj
67 tmp = 1.0 + cfac*yfac**2
70 rb = (eb - 1.0)*ce/(2.0*ecrit - eb0)
73 ar = (rb - rc)/(eb - ec)
74 br = (eb*rc - ec*rb)/(eb - ec)
80 WRITE (6,1) m1, m2, m21, qperi/s, ec, ecdis, eb
81 1
FORMAT (
' INIT: M1 M2 M21 QP/S EC ECD EB ',
82 & 1p,2e10.2,0p,2f5.1,3f6.2)