1 SUBROUTINE ecirc(RP,ES0,I1,I2,ICIRC,TG,TC,ECC1,EDOT)
11 REAL*8 ww(3),qq(3),w(2),q(2),at0(2),m21,wg(2),qg(2),
12 & wscale(2),qscale(2),a(2),b(2),c(6)
13 DATA ww /2.119,3.113,8.175/
14 DATA qq /0.4909,0.4219,0.2372/
15 DATA a /6.306505,-7.297806/
16 DATA b /32.17211,13.01598/
17 DATA c /5.101417,24.71539,-9.627739,1.733964,
18 & -2.314374,-4.127795/
22 IF (radius(i1).GE.radius(i2))
THEN
38 IF (kstar(ik).EQ.3.OR.kstar(ik).EQ.5.OR.
39 & kstar(ik).EQ.6.OR.kstar(ik).EQ.9)
THEN
41 CALL
giant(ipair,ik,wg,qg,wscale,qscale,xn,ql)
47 IF (kstar(ik).GE.3) ip = 2
48 IF (kstar(ik).EQ.4.OR.kstar(ik).EQ.7) ip = 3
49 IF (kstar(ik).EQ.8) ip = 3
50 IF (kstar(ik).EQ.0) ip = 1
54 tl = twopi*radius(ik)*sqrt(radius(ik)/body(ik)/w(k))
59 IF (radius(i1).GE.radius(i2))
THEN
60 m21 = body(i2)/body(i1)
61 r21 = radius(i2)/radius(i1)
64 m21 = body(i1)/body(i2)
65 r21 = radius(i1)/radius(i2)
71 const = 2.0*(at0(1)*(q(1)/w(1))**2*(1.0 + m21)*m21 +
72 & at0(2)*(q(2)/w(2))**2*((1.0 + m21)/m21**2)*r21**8)/
76 IF (kstar(i1).EQ.13.OR.kstar(i2).EQ.13)
THEN
81 ff = (( a(2)*es0 + a(1))*es0 + 1.0 )/
82 & (( b(2)*es0 + b(1))*es0 + 1.0 )
86 z = tg*
const/tstar + ff
87 ecc1 = (-1.0 + c(1)*z - sqrt(c(2)*z**2 + c(3)*z + c(4)))
91 tc = tstar*(1.0 - ff)/
const
94 fe = 1.0 + 3.75*es0**2 + 1.875*es0**4 + (5.0/64.0)*es0**6
95 fe = (9.0*twopi/10.0)*es0*(1.0 - es0**2)**1.5*fe