13 real(8),
allocatable :: rfmt(:,:),rfir(:)
14 real(8),
allocatable :: grfmt(:,:,:),grfir(:,:)
15 complex(8),
allocatable :: zrhomt(:,:),zrhoir(:)
16 complex(8),
allocatable :: zvclmt(:,:),zvclir(:)
29 rfmt(1:np,ias)=rfmt(1:np,ias)+grfmt(1:np,ias,idm)
42 call zpotcoul(0,
nrmt,
nrmti,
npmt,
nrmtmax,
rlmt,
ngridg,
igfft,
ngvec,
gc,
gclg,
ngvec, &
52 call gradrf(rfmt,rfir,grfmt,grfir)
59 bxcmt(1:np,ias,idm)=
bxcmt(1:np,ias,idm)+t1*grfmt(1:np,ias,idm)
63 deallocate(rfmt,rfir,grfmt,grfir)
64 deallocate(zrhomt,zrhoir,zvclmt,zvclir)
complex(8), dimension(:,:), allocatable sfacg
integer, dimension(3) ngridg
subroutine zpotcoul(iash, nrmt_, nrmti_, npmt_, ld1, rl, ngridg_, igfft_, ngp, gpc, gclgp, ld2, jlgprmt, ylmgp, sfacgp, zrhoir, ld3, zvclmt, zvclir)
real(8), dimension(:,:,:), allocatable rlmt
integer, dimension(maxspecies) npmt
pure subroutine rtozfmt(nr, nri, rfmt, zfmt)
subroutine gradrf(rfmt, rfir, grfmt, grfir)
complex(8), dimension(:,:), allocatable ylmg
integer, dimension(:), allocatable igfft
real(8), dimension(:,:,:), allocatable bxcmt
real(8), dimension(:,:), allocatable bxcir
subroutine genzvclmt(nrmt_, nrmti_, ld1, rl, wpr, ld2, zrhomt, zvclmt)
integer, dimension(maxatoms *maxspecies) idxis
real(8), dimension(:,:,:), allocatable jlgrmt
pure subroutine ztorfmt(nr, nri, zfmt, rfmt)
real(8), dimension(:), allocatable gclg
real(8), dimension(:), allocatable gc
real(8), parameter fourpi
real(8), dimension(:,:,:), allocatable wprmt
integer, dimension(maxspecies) nrmti
integer, dimension(maxspecies) nrmt