You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
816 B
28 lines
816 B
subroutine pvswitch3(q1,F0,F1,F2,F3,F3a)
|
|
C----from F0,F1,F2,F3 calculate F3a which has all denominators
|
|
C----shifted by q1
|
|
implicit none
|
|
include 'lib/TensorReduction/Include/types.f'
|
|
include 'lib/TensorReduction/Include/TRydef.f'
|
|
integer:: n1,n2,n3,ep
|
|
complex(dp):: F0(-2:0),F1(y1max,-2:0),F2(y2max,-2:0),
|
|
. F3(y3max,-2:0),F3a(y3max,-2:0)
|
|
real(dp):: q1(4)
|
|
do ep=-2,0
|
|
do n1=1,4
|
|
do n2=n1,4
|
|
do n3=n2,4
|
|
F3a(y3(n1,n2,n3),ep)=F3(y3(n1,n2,n3),ep)
|
|
. -q1(n1)*F2(y2(n2,n3),ep)
|
|
. -q1(n2)*F2(y2(n1,n3),ep)
|
|
. -q1(n3)*F2(y2(n1,n2),ep)
|
|
. +q1(n1)*q1(n2)*F1(n3,ep)
|
|
. +q1(n2)*q1(n3)*F1(n1,ep)
|
|
. +q1(n3)*q1(n1)*F1(n2,ep)
|
|
. -q1(n1)*q1(n2)*q1(n3)*F0(ep)
|
|
enddo
|
|
enddo
|
|
enddo
|
|
enddo
|
|
return
|
|
end
|