26integer,
intent(in) :: idu
28integer is,ia,ja,ias,jas
40 if (.not.
tfeqat(ia,is)) cycle
46 call findband(
solsc,l,
nrmt(is),
rsp(1,is),vr,
epsband,
demaxbnd,
efdu(l,ias),fnd)
47 if (.not.fnd) nnf=nnf+1
50 if (
eqatoms(ia,ja,is).and.(ia /= ja))
then
57if (
mp_mpi.and.(nnf > 0))
then
59 write(*,
'("Warning(engyfdu): could not find ",I3," energies")') nnf
subroutine findband(sol, l, nr, r, vr, eps, demax, e, fnd)
integer, dimension(2, maxdftu) isldu
real(8), dimension(:,:), allocatable efdu
integer, dimension(maxspecies) nrmti
logical, dimension(:,:), allocatable tfeqat
integer, dimension(maxspecies) nrmt
integer, dimension(maxspecies) natoms
integer, dimension(maxatoms, maxspecies) idxas
real(8), dimension(:,:), allocatable rsp
real(8), dimension(:,:), pointer, contiguous vsmt
logical, dimension(:,:,:), allocatable eqatoms
pure subroutine rfmtlm(lm, nr, nri, rfmt, fr)