6subroutine symrfmt(nrmt_,nrmti_,npmt_,ld,rfmt)
10integer,
intent(in) :: nrmt_(nspecies),nrmti_(nspecies),npmt_(nspecies),ld
11real(8),
intent(inout) :: rfmt(ld,natmtot)
13integer is,ia,ja,ias,jas
14integer nr,nri,np,isym,lspl
17real(8),
allocatable :: rfmt1(:,:),rfmt2(:)
18allocate(rfmt1(ld,
natmmax),rfmt2(ld))
27 rfmt1(1:np,ia)=rfmt(1:np,ias)
32 if (.not.
tfeqat(ia,is)) cycle
44 rfmt(1:np,ias)=rfmt(1:np,ias)+rfmt2(1:np)
47 rfmt(1:np,ias)=t0*rfmt(1:np,ias)
50 if (
eqatoms(ia,ja,is).and.(ia /= ja))
then
61deallocate(rfmt1,rfmt2)
logical, dimension(:,:), allocatable tfeqat
integer, dimension(48) isymlat
real(8), dimension(3, 3, 48) symlatc
integer, dimension(maxspecies) natoms
integer, dimension(:,:,:), allocatable ieqatom
integer, dimension(maxatoms, maxspecies) idxas
logical, dimension(:,:,:), allocatable eqatoms
integer, dimension(maxsymcrys) lsplsymc