12integer,
intent(in) :: ik
13real(8),
intent(in) :: wr(nwplot)
14complex(8),
intent(in) :: sem(nstsv,nstsv,0:nwfm)
15real(8),
intent(out) :: sf(nwplot)
17integer ist,jst,iw,nthd
21complex(8) gs(nstsv),g(nstsv,nstsv)
23complex(8),
allocatable :: ser(:,:,:)
24allocate(ser(nstsv,nstsv,nwplot))
25ser(1:nstsv,1:nstsv,1:nwplot)=0.d0
33 if (
tsediag.and.(ist /= jst)) cycle
35 call acgwse(ist,jst,sem,wr,ser)
53 gs(ist)=1.d0/cmplx(w-e,t1,8)
58 g(ist,1:nstsv)=z1*ser(ist,1:nstsv,iw)
59 g(ist,ist)=g(ist,ist)+1.d0
66 g(1:nstsv,jst)=g(1:nstsv,jst)*z1
71 sm=sm+abs(aimag(g(ist,ist)))
real(8), dimension(:,:), allocatable evalsv