10 integer,
intent(in) :: ik
11 complex(8),
intent(out) :: pmat(nstsv,nstsv,3)
15 complex(8),
allocatable :: apwalm(:,:,:,:,:),evecfv(:,:,:),evecsv(:,:)
16 complex(8),
allocatable :: wfmt(:,:,:,:),wfgk(:,:,:)
25 sfacgk(:,:,ispn,ik),apwalm(:,:,:,:,ispn))
29 call genwfsv(.true.,.true.,nstsv,[0],
ngridg,
igfft,
ngk(:,ik),
igkig(:,:,ik), &
30 apwalm,evecfv,evecsv,wfmt,
ngkmax,wfgk)
31 deallocate(evecfv,evecsv,apwalm)
33 call genpmatp(
ngk(:,ik),
igkig(:,:,ik),
vgkc(:,:,:,ik),wfmt,wfgk,pmat)
subroutine getevecsv(fext, ikp, vpl, evecsv)
integer, dimension(3) ngridg
subroutine genwfsv(tsh, tgp, nst, idx, ngridg_, igfft_, ngp, igpig, apwalm, evecfv, evecsv, wfmt, ld, wfir)
subroutine genpmatp(ngp, igpig, vgpc, wfmt, wfgp, pmat)
subroutine getevecfv(fext, ikp, vpl, vgpl, evecfv)
subroutine match(ngp, vgpc, gpc, sfacgp, apwalm)
complex(8), dimension(:,:,:,:), allocatable sfacgk
integer, dimension(:,:), allocatable ngk
integer, dimension(:), allocatable igfft
real(8), dimension(:,:,:,:), allocatable vgkl
real(8), dimension(:,:,:,:), allocatable vgkc
real(8), dimension(:,:), allocatable vkl
real(8), dimension(:,:,:), allocatable gkc
subroutine genpmatk(ik, pmat)
integer, dimension(:,:,:), allocatable igkig