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),iflag(mmax)
11 REAL*8 m0,m1,mg,tscls(20),lums(10),gb(10)
28 IF (tev(i).LT.tm)
THEN
35 IF ((tev(ix) - time)*tstar.GT.10.0)
THEN
40 IF (body(ix).EQ.0.0d0)
THEN
41 CALL
findm(ix,iterm,mg)
42 IF (iterm.LT.0) go to 20
44 ELSE IF (ix.GE.ifirst)
THEN
49 IF (name(n+ipair).GT.0)
THEN
55 IF (namem(k).EQ.name(n+ipair)) im = k
57 IF (name(n+ipair).LT.-2*nzero)
THEN
58 WRITE (6,12) name(n+ipair), name(i), im
59 12
FORMAT (
' NEWTEV WARNING NAMC NAMI IM ',2i7,i4)
64 IF (ix.EQ.2*ipair) k = 2
67 IF (cm(3,im).GT.0.0d0)
THEN
71 ELSE IF (ix.EQ.2*ipair)
THEN
76 WRITE (6,15) name(ix), k, m1
77 15
FORMAT (
' DANGER! NEWTEV NM K M1 ',2i6,f7.3)
85 CALL
star(kw,m0,m1,tm,tn,tscls,lums,gb,zpars)
88 age = tev0(ix)*tstar - epoch(ix)
89 CALL
trdot2(kw,age,tm,tn,tscls,dtm,dtr)
93 dt = min(dt,10.0d0/tstar)
95 dtx = tev0(ix) + 2.0*dt - tev(ix)
98 tev(ix) = tev(ix) + dt
101 IF (iter.LE.2) go to 1