23 READ (5,*) alphas, body1, bodyn, nbin0, nhi0, zmet, epoch0, dtplot
24 IF (n + 2*nbin0 + 2*nhi0.GE.nmax - 2)
THEN
25 WRITE (6,2) n, nbin0, nhi0
26 2
FORMAT (
' FATAL ERROR! BAD INPUT N NBIN0 NHI0 ',i7,2i6)
29 IF (zmet.LE.0.0d0) zmet = 1.0d-04
30 IF (zmet.GT.0.03) zmet = 0.03
31 IF (kz(12).GT.0) dtplot = max(dtplot,deltat)
35 WRITE (6,4) zpars(11), zpars(12), zmet
36 4
FORMAT (//,12x,
'ABUNDANCES: X =',f6.3,
' Y =',f6.3,
41 IF (kz(22).GE.2.OR.kz(22).EQ.-1)
THEN
44 READ (10,*) body(i), (x(k,i),k=1,3), (xdot(k,i),k=1,3)
45 zmass = zmass + body(i)
48 IF (kz(22).GT.2.OR.kz(22).EQ.-1) go to 50
58 IF (alphas.EQ.1.0.OR.body1.EQ.bodyn)
THEN
71 ELSE IF (kz(20).GE.2)
THEN
72 CALL
imf2(body1,bodyn)
76 IF (kz(22).EQ.2.AND.kz(20).EQ.0) go to 50
78 WRITE (6,15) alphas, body1, bodyn
79 15
FORMAT (/,12x,
'STANDARD IMF ALPHAS =',f5.2,
80 &
' BODY1 =',f5.1,
' BODYN =',f5.2)
84 fm1 = 1.0/body1**alpha1
85 fmn = (fm1 - 1.0/bodyn**alpha1)/(float(n) - 1.0)
91 fmi = fm1 - float(i - 1)*fmn
92 body(i) = 1.0/fmi**
const
93 zmass = zmass + body(i)
97 30 zmbar1 = zmass/float(n)
99 body(i) = body(i)/zmbar1
104 40
IF (kz(22).EQ.0.OR.kz(22).EQ.1)
THEN