27 zmass = zmass + body(i)
31 bodym = zmass/float(n)
50 IF (kz(8).EQ.1.OR.kz(8).GE.3)
THEN
55 IF (kz(18).GT.1.AND.kz(8).GT.0)
THEN
68 body1 = max(body1,body(i))
70 x0dot(k,i) = xdot(k,i)
82 scoeff(i) = 1.0d0/((i + 1)*(i + 2))
88 ELSE IF (kz(14).GT.1)
THEN
104 nnb0 = nnb0 + list(1,i)
115 DO 50 ipair = 1,nbin0
121 rij2 = rij2 + (x(k,icomp) - x(k,jcomp))**2
123 IF (rij2.LT.rmin**2)
THEN
130 IF (kz(18).GT.1.AND.nhi0.GT.0)
THEN
133 60 icomp = 2*kspair - 1
140 rij2 = rij2 + (x(k,icm) - x(k,j))**2
142 IF (rij2.LT.rx2)
THEN
147 IF (sqrt(rx2).GT.rmin)
THEN
149 IF (kspair.GT.npairs) go to 80
153 CALL
histab(kspair,jcomp,pmin,rstab)
158 IF (nmerge.LT.nhi0)
THEN
164 80 znb = float(nnb0)/float(n)
165 IF (znb.LT.0.25*znbmax.OR.znb.LT.0.25*sqrt(float(n)))
THEN
167 90
FORMAT (/,12x,
'WARNING! SMALL NEIGHBOUR NUMBERS <NNB> =',