25 integer is,ia,ja,ias,jas
26 integer nr,nri,iro,i0,i1
27 integer l,io,jo,ilo,nnf,nthd
43 if (.not.
tfeqat(ia,is)) cycle
57 if (
apwve(io,l,is))
then 60 if (
apwve(jo,l,is))
then 61 if (abs(
apwe0(io,l,is)-
apwe0(jo,l,is)) < 1.d-4)
then 71 if (.not.fnd) nnf=nnf+1
84 if (
lorbve(io,ilo,is))
then 87 if (
lorbve(jo,ilo,is))
then 88 if (abs(
lorbe0(io,ilo,is)-
lorbe0(jo,ilo,is)) < 1.d-4)
then 98 lorbe(io,ilo,ias),fnd)
99 if (.not.fnd) nnf=nnf+1
109 if (
eqatoms(ia,ja,is).and.(ia /= ja))
then 127 if (
mp_mpi.and.(nnf > 0))
then 129 write(*,
'("Warning(linengy): could not find ",I3," linearisation energies & 130 &in s.c. loop ",I5)') nnf,
iscl
integer, dimension(maxspecies) nlorb
logical, dimension(:,:), allocatable tfeqat
integer, dimension(maxatoms, maxspecies) idxas
real(8), dimension(:,:,:), allocatable rlmt
real(8), dimension(maxlorbord, maxlorb, maxspecies) lorbe0
logical, dimension(:,:,:), allocatable eqatoms
logical, dimension(maxlorbord, maxlorb, maxspecies) lorbve
real(8), dimension(maxapword, 0:maxlapw, maxspecies) apwe0
real(8), dimension(:,:,:), allocatable lorbe
real(8), dimension(:,:,:), allocatable apwe
integer, dimension(0:maxlapw, maxspecies) apword
integer, dimension(maxspecies) natoms
integer, dimension(maxatoms *maxspecies) idxis
logical, dimension(maxapword, 0:maxlapw, maxspecies) apwve
integer, dimension(maxlorb, maxspecies) lorbord
subroutine holdthd(nloop, nthd)
integer, dimension(maxatoms *maxspecies) idxia
integer, dimension(maxlorb, maxspecies) lorbl
real(8), dimension(:,:), pointer, contiguous vsmt
integer, dimension(maxspecies) nrmti
subroutine findband(sol, l, nr, r, vr, eps, demax, e, fnd)
integer, dimension(maxspecies) nrmt