25 integer lmax,is,ia,ias,nthd
26 integer nr,nri,nro,nrs,iro,ir
27 integer nrc,nrci,irco,irc
28 integer l,lm,i0,i1,ig,ifg
32 real(8) ffg(ngvc),wr(nrspmax),jl(0:lmaxi,nrcmtmax)
33 complex(8) zfmt(npcmtmax),zfft(ngtc)
58 sm=sm+t2*sin(x)*
rhosp(ir,is)*
rsp(ir,is)*wr(ir)
61 sm=sum(
rhosp(nr:nrs,is)*(
rsp(nr:nrs,is)**2)*wr(nr:nrs))
71 zfft(ifg)=zfft(ifg)+ffg(ig)*conjg(
sfacg(ig,ias))
90 zfmt(1:
npcmt(is))=0.d0
97 z1=zfft(ifg)*
sfacg(ig,ias)
100 z2=z1*conjg(
ylmg(lm,ig))
133 rhoir(ir)=dble(zfft(ir))+t1
real(8), dimension(:,:), allocatable rcmt
complex(8), dimension(:,:), allocatable sfacg
subroutine sbessel(lmax, x, jl)
real(8), dimension(:,:), allocatable rhosp
integer, dimension(maxspecies) npcmt
subroutine rfirctof(rfirc, rfir)
real(8), dimension(:), pointer, contiguous rhoir
integer, dimension(maxatoms, maxspecies) idxas
real(8), dimension(:,:), pointer, contiguous rhomt
subroutine rfmtctof(rfmt)
complex(8), dimension(:,:), allocatable ylmg
subroutine zfftifc(nd, n, sgn, z)
integer, dimension(:), allocatable igfc
integer, dimension(maxspecies) nrsp
integer, dimension(maxspecies) natoms
integer, dimension(maxatoms *maxspecies) idxis
pure subroutine ztorfmt(nr, nri, zfmt, rfmt)
integer, dimension(3) ngdgc
real(8), dimension(:), allocatable gc
subroutine holdthd(nloop, nthd)
subroutine wsplint(n, x, w)
real(8), parameter fourpi
real(8), dimension(:,:), allocatable rsp
integer, dimension(maxspecies) nrcmt
integer, dimension(maxspecies) nrcmti
integer, dimension(maxspecies) nrmti
integer, dimension(maxspecies) nrmt