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.
22 lines
606 B
22 lines
606 B
subroutine pvswitch2(q1,F0,F1,F2,F2a)
|
|
C----from F0,F1,F2 calculate F2a 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,ep
|
|
complex(dp):: F0(-2:0),F1(y1max,-2:0),F2(y2max,-2:0),
|
|
& F2a(y2max,-2:0)
|
|
real(dp):: q1(4)
|
|
do ep=-2,0
|
|
do n1=1,4
|
|
do n2=n1,4
|
|
F2a(y2(n1,n2),ep)=F2(y2(n1,n2),ep)
|
|
. -q1(n1)*F1(n2,ep)
|
|
. -q1(n2)*F1(n1,ep)
|
|
. +q1(n1)*q1(n2)*F0(ep)
|
|
enddo
|
|
enddo
|
|
enddo
|
|
return
|
|
end
|