double precision function Hggggvsqanal(j1,j2,j3,j4) implicit none include 'constants.f' C--- matrix element squared for 0 --> H + g(j1)+g(j2)+g(j3)+g(j4) integer j1,j2,j3,j4,j,h1,h2,h3,h4 double complex Avirt(3,2,2,2,2),Alo(3,2,2,2,2) double precision temp,ren,H4prenorm call Amplo(j1,j2,j3,j4,Alo) call Ampvirt_gggg(j1,j2,j3,j4,Avirt) c--- get renormalization factor ren=H4prenorm() temp=0d0 do j=1,3 do h1=1,2 do h2=1,2 do h3=1,2 do h4=1,2 Avirt(j,h1,h2,h3,h4)=Avirt(j,h1,h2,h3,h4)+ren*Alo(j,h1,h2,h3,h4) temp=temp+dble(Avirt(j,h1,h2,h3,h4)*Dconjg(Alo(j,h1,h2,h3,h4))) enddo enddo enddo enddo enddo Hggggvsqanal=xn**3*V/2d0*temp return end