35integer is,ia,ja,ias,jas
36integer nr,nri,nrs,nthd
39real(8) vr(nrspmax),br(nrmtmax),fr(nrmtmax),eval(nstspmax)
41real(8),
external :: rfmtint
54 if (.not.
tfeqat(ia,is)) cycle
66 t1=sqrt(v(1)**2+v(2)**2+v(3)**2)
77 br(1:nr)=br(1:nr)+t1*fr(1:nr)
88 vr(1:nr)=vr(1:nr)+br(1:nr)
90 vr(1:nr)=vr(1:nr)-br(1:nr)
95 vr(nr+1:nrs)=
vrsp(nr+1:nrs,is)+t1
96 rhocr(1:nr,ias,ispn)=0.d0
101 call rdirac(
solsc,
nsp(ist,is),
lsp(ist,is),
ksp(ist,is),nrs,
rsp(:,is),vr,&
102 eval(ist),
rwfcr(:,1,ist,ias),
rwfcr(:,2,ist,ias))
110 t1=0.5d0*
occcr(ist,ias)
117 +t1*(
rwfcr(1:nr,1,ist,ias)**2+
rwfcr(1:nr,2,ist,ias)**2)
125 if (
eqatoms(ia,ja,is).and.(ia /= ja))
then
130 rwfcr(1:nrs,1:2,ist,jas)=
rwfcr(1:nrs,1:2,ist,ias)
integer, dimension(maxstsp, maxspecies) lsp
real(8), dimension(:,:), allocatable evalcr
integer, dimension(maxspecies) nrmti
logical, dimension(:,:), allocatable tfeqat
real(8), dimension(:,:,:), allocatable bxcmt
integer, dimension(maxstsp, maxspecies) nsp
real(8), dimension(:,:,:), pointer, contiguous magmt
integer, dimension(maxspecies) nrmt
integer, dimension(maxspecies) natoms
logical, dimension(maxstsp, maxspecies) spcore
integer, dimension(maxatoms, maxspecies) idxas
real(8), dimension(:,:), allocatable rsp
integer, dimension(maxatoms *maxspecies) idxia
integer, dimension(maxatoms *maxspecies) idxis
integer, dimension(maxspecies) nstsp
real(8), dimension(:,:,:,:), allocatable rwfcr
integer, dimension(maxstsp, maxspecies) ksp
real(8), dimension(:,:), pointer, contiguous vsmt
real(8), dimension(:,:), allocatable vrsp
logical, dimension(:,:,:), allocatable eqatoms
real(8), dimension(:,:), allocatable wr2mt
integer, dimension(maxspecies) nrsp
real(8), dimension(:,:,:), allocatable rhocr
real(8), dimension(:,:,:), allocatable rlmt
real(8), dimension(:,:), allocatable occcr
subroutine holdthd(nloop, nthd)
subroutine rdirac(sol, n, l, k, nr, r, vr, eval, g0, f0)
pure real(8) function rfmtint(nr, nri, wr, rfmt)
pure subroutine rfmtlm(lm, nr, nri, rfmt, fr)