7 IMPLICIT REAL*8 (a-h,o-z)
10 common/creg/ m(4),x(12),xd(12),p(12),q(12),time4,
energy,epsr2,
11 &
xr(9),w(9),r(6),ta(6),mij(6),cm(10),rmax4,tmax,
12 & ds,
tstep,eps,nstep4,name4(4),kz15,kz27,nreg,nfn
13 common/tpr/
switch,gtype,gtype0
15 common/iconf/ i1,i2,i3,i4
38 w(k+3) = -pi(ip1+k) - pi(ip2+k)
40 xr(k ) = x(ip2+k) - x(ip1+k)
41 xr(k+3) = x(ip3+k) - x(ip2+k)
42 xr(k+6) = x(ip4+k) - x(ip3+k)
50 r2 =
xr(l1)**2 +
xr(l2)**2 +
xr(l3)**2
57 a = r(l) + abs(
xr(l1))
62 IF (
xr(l1).LT.0.0d0)
THEN
70 p(lq1) = 2.d0*(+q(lq1)*w(l1) + q(lq2)*w(l2) + q(lq3)*w(l3))
71 p(lq2) = 2.d0*(-q(lq2)*w(l1) + q(lq1)*w(l2) + q(lq4)*w(l3))
72 p(lq3) = 2.d0*(-q(lq3)*w(l1) - q(lq4)*w(l2) + q(lq1)*w(l3))
73 p(lq4) = 2.d0*(+q(lq4)*w(l1) - q(lq3)*w(l2) + q(lq2)*w(l3))
77 ta(1) = 0.25d0*(.5d0/m(i1) + .5d0/m(i2))
78 ta(2) = 0.25d0*(.5d0/m(i2) + .5d0/m(i3))
79 ta(3) = 0.25d0*(.5d0/m(i3) + .5d0/m(i4))