6subroutine dwfmtfv(ias,ngp,ngpq,apwalmq,dapwalm,evecfv,devecfv,dwfmt)
11integer,
intent(in) :: ias,ngp,ngpq
12complex(8),
intent(in) :: apwalmq(ngkmax,apwordmax,lmmaxapw)
13complex(8),
intent(in) :: dapwalm(ngkmax,apwordmax,lmmaxapw)
14complex(8),
intent(in) :: evecfv(nmatmax),devecfv(nmatmax)
15complex(8),
intent(out) :: dwfmt(*)
22complex(8),
external :: zdotu
29dwfmt(1:
npcmt(is))=0.d0
37 z=devecfv(ngpq+
idxlo(lm,ilo,ias))
51 z=zdotu(ngpq,devecfv,1,apwalmq(:,io,lm),1)
52 if (ias ==
iasph)
then
53 z=z+zdotu(ngp,evecfv,1,dapwalm(:,io,lm),1)
66pure subroutine zfzrf(n,ld1,rf,ld2,zf)
69integer,
intent(in) :: n
70integer,
intent(in) :: ld1
71real(8),
intent(in) :: rf(ld1,n)
72integer,
intent(in) :: ld2
73complex(8),
intent(inout) :: zf(ld2,n)
74zf(1,1:n)=zf(1,1:n)+z*rf(1,1:n)
subroutine dwfmtfv(ias, ngp, ngpq, apwalmq, dapwalm, evecfv, devecfv, dwfmt)
pure subroutine zfzrf(n, ld1, rf, ld2, zf)
integer, dimension(maxspecies) nrmti
integer, dimension(:,:,:), allocatable idxlo
integer, dimension(maxspecies) npcmti
integer, dimension(maxspecies) nrcmt
integer, dimension(0:maxlapw, maxspecies) apword
integer, dimension(maxatoms *maxspecies) idxis
integer, dimension(maxspecies) npcmt
real(8), dimension(:,:,:,:,:), allocatable apwfr
integer, dimension(maxspecies) nlorb
integer, dimension(maxspecies) nrcmti
real(8), dimension(:,:,:,:), allocatable lofr
integer, dimension(maxlorb, maxspecies) lorbl