6subroutine gradzf(zfmt,zfir,gzfmt,gzfir)
11complex(8),
intent(in) :: zfmt(npmtmax,natmtot),zfir(ngtot)
12complex(8),
intent(out) :: gzfmt(npmtmax,natmtot,3),gzfir(ngtot,3)
17complex(8),
allocatable :: zfft(:)
27 call gradzfmt(
nrmt(is),
nrmti(is),
rlmt(:,-1,is),
wcrmt(:,:,is),zfmt(:,ias),ld, &
34zfft(1:ngtot)=zfir(1:ngtot)
39 gzfir(ifg,i)=
vgc(i,ig)*
zi*zfft(ifg)
subroutine gradzf(zfmt, zfir, gzfmt, gzfir)
subroutine gradzfmt(nr, nri, ri, wcr, zfmt, ld, gzfmt)
integer, dimension(maxspecies) nrmti
real(8), dimension(:,:,:), allocatable wcrmt
integer, dimension(3) ngridg
integer, dimension(maxspecies) nrmt
integer, dimension(maxatoms *maxspecies) idxis
integer, dimension(:), allocatable igfft
real(8), dimension(:,:), allocatable vgc
real(8), dimension(:,:,:), allocatable rlmt
subroutine holdthd(nloop, nthd)
subroutine zfftifc(nd, n, sgn, z)