8 parameter(nmx=10,nmx3=3*nmx,nmxm=nmx*(nmx-1)/2)
9 REAL*8 m,mass,mc,mij,mkk,ang(3),firr(3),fd(3)
10 common/chain1/ xch(nmx3),vch(nmx3),m(nmx),
11 & zz(nmx3),wc(nmx3),mc(nmx),
12 & xi(nmx3),pi(nmx3),mass,rinv(nmxm),rsum,mkk(nmx),
13 & mij(nmx,nmx),tkk(nmx),tk1(nmx),iname(nmx),nn
14 common/chainc/ xc(3,ncmax),uc(3,ncmax),bodyc(ncmax),ich,
16 common/chreg/ timec,tmax,rmaxc,cm(10),namec(6),nstep1,kz27,kz30
17 common/clump/ bodys(ncmax,5),t0s(5),ts(5),
steps(5),rmaxs(5),
18 & names(ncmax,5),isys(5)
35 CALL
chfirr(ich,0,x(1,ich),xdot(1,ich),firr,fd)
37 f(k,ich) = f(k,ich) + firr(k)
38 fdot(k,ich) = fdot(k,ich) + fd(k)
50 steps(isub) = 0.01*step(ich)
56 CALL
const(xch,vch,m,nn,ech,ang,alag)