36integer nrc,nrci,np,npc
41real(8),
allocatable :: rvfmt(:,:,:),rvfir(:,:)
42complex(8),
allocatable :: zrhomt(:,:),zrhoir(:)
43complex(8),
allocatable :: zvclmt(:,:),zvclir(:)
45real(8),
external :: rfmtint
59 rvfmt(1:np,ias,idm)=cb*rvfmt(1:np,ias,idm)
71 rvfmt(1:np,ias,idm)=rvfmt(1:np,ias,idm)+t1*
jrmt(1:np,ias,idm)
86 call zpotcoul(0,
nrmt,
nrmti,
npmt,
nrmtmax,
rlmt,
ngridg,
igfft,
ngvec,
gc,
gclg, &
111 bsmt(1:npc,ias,idm)=
bsmt(1:npc,ias,idm)+cb*rfmt(1:npc)
114 t2=(4.d0/3.d0)*
pi*
rmt(is)**3
121deallocate(rvfmt,rvfir)
122deallocate(zrhomt,zrhoir,zvclmt,zvclir)
subroutine curlrvf(rvfmt, rvfir, curlmt, curlir)
subroutine genzvclmt(nrmt_, nrmti_, ld1, rl, wpr, ld2, zrhomt, zvclmt)
integer, dimension(maxspecies) nrmti
real(8), parameter gfacte
integer, dimension(3) ngridg
real(8), dimension(:,:,:), pointer, contiguous magmt
real(8), dimension(:,:), allocatable bdir
integer, dimension(maxspecies) nrmt
real(8), dimension(maxspecies) rmt
real(8), dimension(:,:,:), allocatable jlgrmt
integer, dimension(maxspecies) nrcmt
integer, dimension(maxatoms *maxspecies) idxis
complex(8), dimension(:,:), allocatable sfacg
integer, dimension(maxspecies) npcmt
integer, dimension(:), allocatable igfft
real(8), dimension(:,:), pointer, contiguous magir
real(8), dimension(:,:), allocatable bdmta
real(8), dimension(:,:,:), allocatable wprmt
real(8), dimension(:,:,:), allocatable jrmt
integer, dimension(maxspecies) npmt
real(8), dimension(:,:), allocatable bsir
real(8), dimension(:,:,:), allocatable bdmt
real(8), dimension(:,:), allocatable wr2mt
real(8), dimension(:), allocatable gclg
real(8), dimension(:,:,:), pointer, contiguous bsmt
complex(8), dimension(:,:), allocatable ylmg
integer, dimension(maxspecies) nrcmti
real(8), dimension(:), allocatable gc
real(8), dimension(:,:,:), allocatable rlmt
real(8), dimension(:,:), allocatable jrir
subroutine rbshtip(nr, nri, rfmt)
pure subroutine rfmtftoc(nrc, nrci, rfmt, rfcmt)
pure real(8) function rfmtint(nr, nri, wr, rfmt)
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)