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.
24 lines
876 B
24 lines
876 B
subroutine runCP_iii(k,i1,i2,i3,f,Gr,Shat4,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'
|
|
integer ep,N0,k,i1,i2,i3,np
|
|
parameter(np=2)
|
|
real(dp):: f(np),Gr(np,np)
|
|
complex(dp):: Shat4(np,z3max,-2:0)
|
|
|
|
do ep=-2,0
|
|
Cv(ciii(z3(i1,i2,i3))+N0,ep)=
|
|
. (Shat4(k,z3(i1,i2,i3),ep)
|
|
. -2d0*delta(k,i1)*Cv(czzii(z2(i2,i3))+N0,ep)
|
|
. -2d0*delta(k,i2)*Cv(czzii(z2(i1,i3))+N0,ep)
|
|
. -2d0*delta(k,i3)*Cv(czzii(z2(i1,i2))+N0,ep)
|
|
. -Gr(k,1)*Cv(ciiii(z4(1,i1,i2,i3))+N0,ep)
|
|
. -Gr(k,2)*Cv(ciiii(z4(2,i1,i2,i3))+N0,ep))/f(k)
|
|
enddo
|
|
|
|
return
|
|
end
|