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.
78 lines
2.4 KiB
78 lines
2.4 KiB
subroutine runCF_00iiiii(i1,i2,i3,i4,i5,f,Gr,Shat7,N0)
|
|
implicit none
|
|
include 'lib/TensorReduction/Include/types.f'
|
|
include 'lib/TensorReduction/Include/pvCnames.f'
|
|
include 'lib/TensorReduction/Include/pvCv.f'
|
|
include 'lib/TensorReduction/recur/Include/Carraydef.f'
|
|
include 'lib/TensorReduction/recur/Include/Carrays.f'
|
|
include 'lib/TensorReduction/Include/pvweenumber.f'
|
|
integer ep,N0,k,i1,i2,i3,i4,i5,np
|
|
parameter(np=2)
|
|
real(dp):: f(np),Gr(np,np),den
|
|
complex(dp):: Shat7(np,z6max,-2:0)
|
|
|
|
do ep=-2,0
|
|
if ((i1 .eq. i2) .and. (i1 .eq. i3) .and. (i1 .eq. i4)
|
|
. .and. (i1 .eq. i5)) then
|
|
den=12d0
|
|
k=i1
|
|
elseif ((i1 .eq. i2) .and. (i1 .eq. i3) .and. (i1 .eq. i4)) then
|
|
den=10d0
|
|
k=i1
|
|
elseif ((i1 .eq. i2) .and. (i1 .eq. i3) .and. (i1 .eq. i5)) then
|
|
den=10d0
|
|
k=i1
|
|
elseif ((i1 .eq. i2) .and. (i1 .eq. i4) .and. (i1 .eq. i5)) then
|
|
den=10d0
|
|
k=i1
|
|
elseif ((i1 .eq. i3) .and. (i1 .eq. i4) .and. (i1 .eq. i5)) then
|
|
den=10d0
|
|
k=i1
|
|
elseif ((i2 .eq. i3) .and. (i2 .eq. i4) .and. (i2 .eq. i5)) then
|
|
den=10d0
|
|
k=i2
|
|
elseif ((i1 .eq. i2) .and. (i1 .eq. i3)) then
|
|
den=8d0
|
|
k=i1
|
|
elseif ((i1 .eq. i2) .and. (i1 .eq. i4)) then
|
|
den=8d0
|
|
k=i1
|
|
elseif ((i1 .eq. i2) .and. (i1 .eq. i5)) then
|
|
den=8d0
|
|
k=i1
|
|
elseif ((i2 .eq. i3) .and. (i2 .eq. i4)) then
|
|
den=8d0
|
|
k=i2
|
|
elseif ((i2 .eq. i3) .and. (i2 .eq. i5)) then
|
|
den=8d0
|
|
k=i2
|
|
elseif ((i3 .eq. i4) .and. (i3 .eq. i5)) then
|
|
den=8d0
|
|
k=i3
|
|
elseif ((i1 .eq. i2) .or. (i1 .eq. i3) .or. (i1 .eq. i4)
|
|
. .or. (i1 .eq. i5)) then
|
|
den=6d0
|
|
k=i1
|
|
elseif ((i2 .eq. i3) .or. (i2 .eq. i4) .or. (i2 .eq. i5)) then
|
|
den=6d0
|
|
k=i2
|
|
elseif ((i3 .eq. i4) .or. (i3 .eq. i5)) then
|
|
den=6d0
|
|
k=i3
|
|
elseif (i4 .eq. i5) then
|
|
den=6d0
|
|
k=i4
|
|
else
|
|
den=4d0
|
|
k=i1
|
|
endif
|
|
Cv(czziiiii(z5(i1,i2,i3,i4,i5))+N0,ep)=
|
|
. (Shat7(k,z6(k,i1,i2,i3,i4,i5),ep)
|
|
. -f(k)*Cv(ciiiiii(z6(k,i1,i2,i3,i4,i5))+N0,ep)
|
|
. -Gr(k,1)*Cv(ciiiiiii(z7(1,k,i1,i2,i3,i4,i5))+N0,ep)
|
|
. -Gr(k,2)*Cv(ciiiiiii(z7(2,k,i1,i2,i3,i4,i5))+N0,ep))/den
|
|
|
|
enddo
|
|
|
|
return
|
|
end
|