6 subroutine dwfmtfv(ias,ngp,ngpq,apwalmq,dapwalm,evecfv,devecfv,dwfmt)
11 integer,
intent(in) :: ias,ngp,ngpq
12 complex(8),
intent(in) :: apwalmq(ngkmax,apwordmax,lmmaxapw)
13 complex(8),
intent(in) :: dapwalm(ngkmax,apwordmax,lmmaxapw)
14 complex(8),
intent(in) :: evecfv(nmatmax),devecfv(nmatmax)
15 complex(8),
intent(out) :: dwfmt(*)
22 complex(8),
external :: zdotu
29 dwfmt(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)
65 pure subroutine zfzrf(n,ld1,rf,ld2,zf)
68 integer,
intent(in) :: n
69 integer,
intent(in) :: ld1
70 real(8),
intent(in) :: rf(ld1,n)
71 integer,
intent(in) :: ld2
72 complex(8),
intent(inout) :: zf(ld2,n)
73 zf(1,1:n)=zf(1,1:n)+z*rf(1,1:n)
pure subroutine zfzrf(n, ld1, rf, ld2, zf)
integer, dimension(maxspecies) npcmt
integer, dimension(maxspecies) nlorb
integer, dimension(:,:,:), allocatable idxlo
real(8), dimension(:,:,:,:), allocatable lofr
subroutine dwfmtfv(ias, ngp, ngpq, apwalmq, dapwalm, evecfv, devecfv, dwfmt)
integer, dimension(0:maxlapw, maxspecies) apword
integer, dimension(maxspecies) npcmti
integer, dimension(maxatoms *maxspecies) idxis
real(8), dimension(:,:,:,:,:), allocatable apwfr
integer, dimension(maxspecies) nrcmt
integer, dimension(maxspecies) nrcmti
integer, dimension(maxlorb, maxspecies) lorbl
integer, dimension(maxspecies) nrmti