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