6subroutine gradrf(rfmt,rfir,grfmt,grfir)
11real(8),
intent(in) :: rfmt(npmtmax,natmtot),rfir(ngtot)
12real(8),
intent(out) :: grfmt(npmtmax,natmtot,3),grfir(ngtot,3)
17complex(8),
allocatable :: zfft1(:),zfft2(:)
28 call gradrfmt(
nrmt(is),
nrmti(is),
rlmt(:,-1,is),
wcrmt(:,:,is),rfmt(:,ias),ld, &
40 zfft2(ifg)=
vgc(i,ig)*
zi*zfft1(ifg)
47deallocate(zfft1,zfft2)
subroutine gradrf(rfmt, rfir, grfmt, grfir)
subroutine gradrfmt(nr, nri, ri, wcr, rfmt, ld, grfmt)
integer, dimension(maxspecies) nrmti
real(8), dimension(:,:,:), allocatable wcrmt
integer, dimension(3) ngridg
integer, dimension(maxspecies) nrmt
integer, dimension(:), allocatable igrzf
integer, dimension(maxatoms *maxspecies) idxis
real(8), dimension(:,:), allocatable vgc
real(8), dimension(:,:,:), allocatable rlmt
subroutine holdthd(nloop, nthd)
subroutine rzfftifc(nd, n, sgn, r, z)