16complex(8),
allocatable :: wfpw(:,:,:)
37open(270,file=
'WFPW.OUT',form=
'UNFORMATTED',access=
'DIRECT',recl=recl)
49 write(*,
'("Info(writewfpw): ",I6," of ",I6," k-points")') ik,
nkpt
52 call genwfpw(
vkl(:,ik),
ngk(:,ik),
igkig(:,:,ik),
vgkl(:,:,:,ik), &
53 vgkc(:,:,:,ik),
gkc(:,:,ik),
sfacgk(:,:,:,ik),
nhk(:,ik),
vhkc(:,:,:,ik), &
68 write(*,
'("Info(writewfpw): plane wave wavefunctions written to WFPW.OUT")')
69 write(*,
'(" for all H+k-vectors up to |H+k| < hkmax")')
subroutine genwfpw(vpl, ngp, igpig, vgpl, vgpc, gpc, sfacgp, nhp, vhpc, hpc, sfachp, wfpw)
subroutine delfile(fname)
real(8), dimension(:,:,:,:), allocatable vgkc
real(8), dimension(:,:,:), allocatable gkc
integer, dimension(:,:), allocatable ngk
integer, dimension(:,:,:), allocatable igkig
real(8), dimension(:,:,:,:), allocatable vgkl
real(8), dimension(:,:), allocatable vkl
complex(8), dimension(:,:,:,:), allocatable sfacgk
subroutine holdthd(nloop, nthd)
real(8), dimension(:,:,:), allocatable hkc
real(8), dimension(:,:,:,:), allocatable vhkc
integer, dimension(:,:), allocatable nhk
complex(8), dimension(:,:,:,:), allocatable sfachk