8 common/chainc/ xc(3,ncmax),uc(3,ncmax),bodyc(ncmax),ich,
10 common/clump/ bodys(ncmax,5),t0s(5),ts(5),
steps(5),rmaxs(5),
11 & names(ncmax,5),isys(5)
16 IF (isys(isub).GE.3)
THEN
18 IF (name(ich).EQ.0) go to 20
24 IF (ncm.EQ.name(i))
THEN
31 12
WRITE (6,15) isub, ncm
32 15
FORMAT (5x,
'WARNING! SUBSYSTEM TERMINATION ISUB =',i3,
35 WRITE (6,60) isub, nch, ich, name(ich)
36 60
FORMAT (
' EXTEND: ISUB NCH ICH NAME(ICH) ',4i5)
44 rij2 = (x(1,j) - x(1,icm))**2 + (x(2,j) - x(2,icm))**2 +
45 & (x(3,j) - x(3,icm))**2
46 pij = body(j)/(rij2*sqrt(rij2))
53 pmax = max(pmax,float(nnb)*bodym/rs(icm)**3)
56 IF (isys(isub).LE.2)
THEN
61 rmaxs(isub) = (100.0*gstar*body(icm)/(2.0*pmax))**0.3333
64 IF (
steps(isub).GT.0.0d0)
THEN
65 steps(isub) = step(icm)
68 IF (isys(isub).LE.2) iphase = 4