8 REAL*8 m,mass,mc,mij,mkk
9 parameter(nmx=10,nmx3=3*nmx,nmxm=nmx*(nmx-1)/2)
10 common/chain1/ xch(nmx3),vch(nmx3),m(nmx),
11 & zz(nmx3),wc(nmx3),mc(nmx),
12 & xj(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 REAL*8 acc(nmx3),fp(nmx3)
22 IF (listc(1).EQ.0) go to 40
25 IF (timec.EQ.0.0d0)
THEN
53 rij2 = a1*a1 + a2*a2 + a3*a3
54 a6 = body(j)/(rij2*sqrt(rij2))
58 acc(ik+1) = acc(ik+1) + fp(ik+1)
59 acc(ik+2) = acc(ik+2) + fp(ik+2)
60 acc(ik+3) = acc(ik+3) + fp(ik+3)
66 df = fp(ik+k) - fp(ik+k-3)
69 gam = sqrt(df2)/((bodyc(i-1) + bodyc(i))*rinv(i-1)**2)
71 IF (gam.GT.gmin.AND.itime.EQ.0)
THEN
88 df = acc(k+li+3) - acc(k+li)
92 gam = sqrt(df2)/((bodyc(i) + bodyc(i+1))*rinv(i)**2)