8 common/binary/ cm(4,mmax),xrel(3,mmax),vrel(3,mmax),
9 & hm(mmax),um(4,mmax),umdot(4,mmax),tmdis(mmax),
10 & namem(mmax),nameg(mmax),kstarm(mmax),iflagm(mmax)
22 IF (namem(k).EQ.name(i)) im = k
31 semi0 = -0.5*mb/hm(im)
40 td2 = td2 + 2.0*um(k,im)*umdot(k,im)
41 v20 = v20 + umdot(k,im)**2
45 ecc2 = (1.0 - rb/semi0)**2 + td2**2/(mb*semi0)
52 IF (spin(i2).GT.spin(i1))
THEN
73 amb0 = zmu*sqrt(mb*semi0)
76 w = spin(j1)/(rg2*mx*rx**2)
77 wb = sqrt(mb/semi0**3)
78 spin(j1) = spin(j1)*(wb/w)
79 fac = (amb0 + spin0 - spin(j1))**2
81 semi = fac/(zmu**2*mb)
85 IF (abs(dw).LT.1.0d-03)
THEN
95 15
IF (semi.LT.rx)
THEN
101 hm(im) = -0.5*mb/semi
104 decorr = zmu*(hi - hm(im))
105 emerge = emerge - decorr
106 ecoll = ecoll + decorr
107 egrav = egrav + decorr
110 c2 = sqrt(semi/semi1)
111 v2 = 0.5*(mb + hm(im)*rb*(semi/semi1))
117 um(k,im) = c2*um(k,im)
118 umdot(k,im) = c1*umdot(k,im)
127 tev(i) = tev(j1) + 0.01
129 WRITE (6,25) time+toff, name(i1), kstar(j1), iter, semi, w, dw
130 25
FORMAT (
' SPINUP T NM K* IT A W DW/W ',f9.3,i6,2i4,1p,3e10.2)