14 a0 = -0.5*body(n+ip)/h(ip)
15 ecc2 = (1.0 - r(ip)/a0)**2 + tdot2(ip)**2/(body(n+ip)*a0)
20 semi = a0*(1.0 - emax**2)
22 rx = max(radius(i1),radius(2*ip))
24 semi = max(semi,3.0*rx)
25 zmu = body(i1)*body(2*ip)/body(n+ip)
28 h(ip) = -0.5*body(n+ip)/semi
29 ecoll = ecoll + zmu*(hi - h(ip))
36 kstar(n+ip) = max(10,kstar(n+ip))
38 tev(n+ip) = time + 0.1
41 IF (radius(2*ip).GT.radius(i1))
THEN
48 q1 = body(j1)/body(j2)
49 tcirc = 2.0*q1**2/(1.0 + q1)*(semi/radius(j1))**8
52 WRITE (6,15) time+toff, name(i1), ecc0, a0, semi,
tcirc
53 WRITE (45,15) time+toff, name(i1), ecc0, a0, semi,
tcirc
54 15
FORMAT (
' CIRCULARIZED T NM E A0 A TC ',f9.2,i6,f8.4,1p,3e10.2)
58 IF (radius(i1) + radius(2*ip).GT.semi)
THEN
60 WRITE (6,20) kspair, ecc0, a0, semi, rx
61 20
FORMAT (
' KOZAI COAL/COLL KS E0 A0 A RX ',