1 SUBROUTINE tcirc(RP,ES0,I1,I2,ICIRC,TC)
12 REAL*8 ww(3),qq(3),w(2),q(2),at0(2),m21,wg(2),qg(2),
13 & wscale(2),qscale(2),a(2),b(2),c(6)
14 DATA ww /2.119,3.113,8.175/
15 DATA qq /0.4909,0.4219,0.2372/
16 DATA a /6.306505,-7.297806/
17 DATA b /32.17211,13.01598/
18 DATA c /5.101417,24.71539,-9.627739,1.733964,
19 & -2.314374,-4.127795/
20 DATA eccm,eccm1 /0.002,0.002001/
26 IF (radius(i1).EQ.0.0d0.OR.radius(i2).EQ.0.0d0.OR.
27 & (kstar(i1).EQ.14.AND.kstar(i2).EQ.14))
THEN
33 IF (radius(i1).GE.radius(i2))
THEN
42 ar = rp/((1.0 - es0)*radius(j1))
44 IF (kstar(j1).EQ.1.AND.body(j1)*smu.GT.1.25)
THEN
46 ELSE IF (kstar(j1).EQ.4.OR.kstar(j1).EQ.7)
THEN
48 ELSE IF (kstar(j1).GE.10)
THEN
51 q12 = body(j1)/body(j2)
52 tauc = ff*2.0*q12**2/(1.0 + q12)*ar**8
54 IF (tauc.GT.1.0d+08)
THEN
68 IF (kstar(ik).EQ.3.OR.kstar(ik).EQ.5.OR.
69 & kstar(ik).EQ.6.OR.kstar(ik).EQ.9)
THEN
71 CALL
giant(ipair,ik,wg,qg,wscale,qscale,xn,ql)
77 IF (kstar(ik).GE.3) ip = 2
78 IF (kstar(ik).EQ.4.OR.kstar(ik).EQ.7) ip = 3
79 IF (kstar(ik).EQ.8) ip = 3
80 IF (kstar(ik).EQ.0) ip = 1
84 tl = twopi*radius(ik)*sqrt(radius(ik)/body(ik)/w(k))
89 IF (radius(i1).GE.radius(i2))
THEN
90 m21 = body(i2)/body(i1)
91 r21 = radius(i2)/radius(i1)
94 m21 = body(i1)/body(i2)
95 r21 = radius(i1)/radius(i2)
101 const = 2.0*(at0(1)*(q(1)/w(1))**2*(1.0 + m21)*m21 +
102 & at0(2)*(q(2)/w(2))**2*((1.0 + m21)/m21**2)*r21**8)/
106 IF (kstar(i1).GE.13.OR.kstar(i2).GE.13)
THEN
111 ff = (( a(2)*es0 + a(1))*es0 + 1.0 )/
112 & (( b(2)*es0 + b(1))*es0 + 1.0 )
116 IF (icirc.LE.0) go to 10
120 z = (time - time0)*
const + ff
121 ecc = (-1.0 + c(1)*z - sqrt(c(2)*z**2 + c(3)*z + c(4)))
125 rp = rp*(1.0 + es0)/(1.0 + ecc)
130 10 tc = tstar*(1.0 - ff)/
const
133 IF (tc.LT.2000.0.OR.es0.GT.1.0)
THEN
137 IF (itime.GT.2000000000) itime = 0
138 IF (icirc.EQ.0.AND.kz(27).EQ.2.AND.itime.LT.100)
THEN
139 semi = -0.5*body(n+ip)/h(ip)
140 WRITE (6,20) i1, nchaos, es0, rp1, m21, tc, semi, xn
141 20
FORMAT (
' TCIRC: I1 NCH E RP M21 TC A n ',
142 & 2i5,f8.4,f8.1,f6.2,1p,2e10.2,0p,f5.1)
146 IF (es0.LE.eccm1.AND.kstar(n+ip).EQ.0)
THEN