9 LOGICAL kslow,kcoll,itest
10 REAL*8 y(nmx8),xcnew(nmx3),ksch,ksnew(nmx)
11 common/slow1/ tk2(0:nmx),ejump,ksch(nmx),kslow,kcoll
22 CALL
ksphys(q(ks1),p(ks1),xc(l1),wc(l1))
36 x(l2+k)=x(l1+k)+xc(l+k)
51 IF(iname(i).NE.iold(i))isw=isw+1
67 pi(li+k)=wc(l+k-3)-wc(l+k)
81 wc(l+k)=wc(l+k-3)-pi(li+k)
94 IF(iold(i).EQ.iname(icnew))k0=i
95 IF(iold(i).EQ.iname(icnew+1))k1=i
99 IF((k1.GT.icold).AND.(k0.LE.icold))
THEN
102 xcnew(lnew+k)=xcnew(lnew+k)+xc(lold+k)
104 ELSE IF((k1.LE.icold).AND.(k0.GT.icold))
THEN
107 xcnew(lnew+k)=xcnew(lnew+k)-xc(lold+k)
117 CALL
physks(xcnew(l1),wc(l1),q(ks1),p(ks1))
119 xc(l1+k-1)=xcnew(l1+k-1)
121 rinv(i)=1.0/(q(ks1)**2+q(ks1+1)**2+q(ks1+2)**2+q(ks1+3)**2)
129 if(ksch(i).ne.1.0d0)
then
133 itest=((i1.eq.iname(j)).and.(i2.eq.iname(j+1))).or.
134 & ((i2.eq.iname(j)).and.(i1.eq.iname(j+1)))
156 if(ksch(i).ne.1.0d0)
then
157 tk1(i)=tk1(i)/ksch(i)
158 tk1(i+1)=tk1(i+1)/ksch(i)
162 tkk(i)=.5d0*(-tk1(i)-tk1(i+1))
163 mkk(i)=mc(i)*mc(i+1)/ksch(i)
171 dt12=0.5d0*(1.d0-1.d0/ksch(i))/m12
172 if(i.gt.1) tkk(i-1)=tkk(i-1)+dt12
173 if(i.lt.n-1) tkk(i+1)=tkk(i+1)+dt12
174 if(i.gt.1.and.i.lt.n-1) tk2(i)=-2.0d0*dt12