12 real(
dp),
intent(in) :: p(4,4)
13 complex(dp) :: heftcoupl
14 real(
dp),
intent(out) :: res(-5:5,-5:5)
15 real(
dp) :: sprod(4,4)
16 complex(dp) :: za(4,4), zb(4,4)
23 call spinoru2(3,(/-p(:,1),-p(:,2),p(:,4)/),za,zb,sprod)
26 res(0,0) = res(0,0)*
avegg
30 res(0,i) = -res(0,i)*
aveqg
36 res(i,0) = -res(i,0)*
aveqg
42 res(0,-i) = -res(0,-i)*
aveqg
48 res(-i,0) = -res(-i,0)*
aveqg
56 res(-i,i) = res(-i,i) *
aveqq
66 res(i,-i) = res(i,-i)*
aveqq
69 res = res * (heftcoupl**2)
87 integer,
intent(in) :: j1,j2,j3
88 real(dp),
intent(in) :: sprod(3,3)
89 real(dp),
intent(out) :: me2
90 real(dp) :: s12, s13, s23, qsq
91 real(dp),
parameter :: col_gg = 4.0d0 *
ca**2 *
cf
101 me2 = (s12**4 + s13**4 + s23**4 + qsq**4)/s12/s13/s23
103 me2 = me2 *
two * col_gg
112 integer,
intent(in) :: j1, j2, j3
113 real(dp),
intent(in) :: sprod(3,3)
114 real(dp),
intent(out) :: me2
115 real(dp) :: s12, s13,s23
116 real(dp),
parameter :: col_qg =
two *
xn *
cf
124 me2 =
two * (s13**2 + s23**2)/s12 * col_qg
138 integer,
intent(in) :: n
139 real(dp),
intent(in) :: p(4,n)
140 complex(dp),
intent(out) :: za(n,n), zb(n,n)
141 real(dp),
intent(out) :: s(n,n)
143 complex(dp) :: c23(n), f(n)
152 if (p(1,j) .gt.
zero)
then
153 rt(j)=sqrt(p(2,j)+p(1,j))
154 c23(j)=cmplx(p(4,j),-p(3,j),kind=dp)
158 rt(j)=sqrt(-p(1,j)-p(2,j))
159 c23(j)=cmplx(-p(4,j),p(3,j),kind=dp)
167 s(i,j)=
two*
scr(p(:,i),p(:,j))
169 *(c23(i)*cmplx(rt(j)/rt(i),kind=dp)-c23(j)*cmplx(rt(i)/rt(j),kind=dp))
171 if (abs(s(i,j)).lt.1d-5)
then
172 zb(i,j)=-(f(i)*f(j))**2*conjg(za(i,j))
174 zb(i,j)=-cmplx(s(i,j),kind=dp)/za(i,j)