17real(8),
allocatable :: wr(:),sft(:),sf(:)
18complex(8),
allocatable :: se(:,:,:)
35 wr(iw)=dw*dble(iw-1)+
wplot(1)
54 write(*,
'("Info(gwspecf): ",I6," of ",I6," k-points")') ik,
nkpt
75 call mpi_allreduce(mpi_in_place,sft,
nwplot,mpi_double_precision,mpi_sum, &
80 open(50,file=
'GWTSF.OUT',form=
'FORMATTED')
82 write(50,
'(2G18.10)') wr(iw),sft(iw)
86 write(*,
'("Info(gw):")')
87 write(*,
'(" GW spectral functions and Kohn-Sham eigenvalues written to &
89 write(*,
'(" for all k-points")')
91 write(*,
'(" Total GW spectral function written to GWTSF.OUT")')
93 write(*,
'(" Fermi energy for the Kohn-Sham eigenvalues is at zero in plots")')
94 write(*,
'(" Fermi energy for the GW spectral function is undetermined")')
96 write(*,
'(" Spectral function units are states/Hartree/unit cell")')
99call writetest(610,
'total GW spectral function',nv=
nwplot,tol=5.d-2,rva=sft)
subroutine dysonr(ik, wr, sem, sf)
subroutine getevalsv(fext, ikp, vpl, evalsv_)
subroutine getgwsefm(ik, se)
subroutine getoccsv(fext, ikp, vpl, occsvp)
real(8), dimension(:), allocatable wkpt
real(8), dimension(2) wplot
real(8), dimension(:,:), allocatable vkl
real(8), dimension(:,:), allocatable occsv
real(8), dimension(:,:), allocatable evalsv
subroutine holdthd(nloop, nthd)
subroutine writetest(id, descr, nv, iv, iva, tol, rv, rva, zv, zva)
subroutine writegwsf(ik, wr, sf)