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