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 & 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,
19 IF (kcase.EQ.0) go to 4
38 x(1,j) = ((fdot(1,j)*s + f(1,j))*s + x0dot(1,j))*s + x0(1,j)
39 x(2,j) = ((fdot(2,j)*s + f(2,j))*s + x0dot(2,j))*s + x0(2,j)
40 x(3,j) = ((fdot(3,j)*s + f(3,j))*s + x0dot(3,j))*s + x0(3,j)
41 xdot(1,j) = (fdot(1,j)*s1 + f(1,j))*s2 + x0dot(1,j)
42 xdot(2,j) = (fdot(2,j)*s1 + f(2,j))*s2 + x0dot(2,j)
43 xdot(3,j) = (fdot(3,j)*s1 + f(3,j))*s2 + x0dot(3,j)
51 xc(k,i) = xch(lk) + x(k,ich)
52 uc(k,i) = vch(lk) + xdot(k,ich)