15complex(4),
allocatable :: wfcr(:,:)
16complex(8),
allocatable :: zfmt(:),gzfmt(:,:)
34 do m=-
ksp(ist,is),
ksp(ist,is)-1
44 zfmt(1:np)=wfcr(1:np,ispn)
45 call gradzfmt(nr,nri,
rlmt(:,-1,is),
wcrmt(:,:,is),zfmt,
npmtmax,gzfmt)
48 call zbsht(nr,nri,gzfmt(:,i),zfmt)
51 +0.5d0*(dble(zfmt(1:np))**2+aimag(zfmt(1:np))**2)
63deallocate(wfcr,zfmt,gzfmt)
subroutine gradzfmt(nr, nri, ri, wcr, zfmt, ld, gzfmt)
integer, dimension(maxspecies) nrmti
real(8), dimension(:,:,:), allocatable wcrmt
integer, dimension(maxspecies) nrmt
logical, dimension(maxstsp, maxspecies) spcore
real(8), dimension(:,:,:), allocatable taucr
integer, dimension(maxatoms *maxspecies) idxia
integer, dimension(maxatoms *maxspecies) idxis
integer, dimension(maxspecies) nstsp
integer, dimension(maxstsp, maxspecies) ksp
integer, dimension(maxspecies) npmt
real(8), dimension(:,:,:), allocatable rlmt
subroutine holdthd(nloop, nthd)
subroutine rfshtip(nr, nri, rfmt)
pure subroutine wavefcr(tsh, lrstp, is, ia, ist, m, ld, wfcr)
subroutine zbsht(nr, nri, zfmt1, zfmt2)