9subroutine gradrfmt(nr,nri,ri,wcr,rfmt,ld,grfmt)
35integer,
intent(in) :: nr,nri
36real(8),
intent(in) :: ri(nr),wcr(12,nr),rfmt(*)
37integer,
intent(in) :: ld
38real(8),
intent(out) :: grfmt(ld,3)
42complex(8),
allocatable :: zfmt(:),gzfmt(:,:)
43allocate(zfmt(ld),gzfmt(ld,3))
47call gradzfmt(nr,nri,ri,wcr,zfmt,ld,gzfmt)
50 call ztorfmt(nr,nri,gzfmt(:,i),grfmt(:,i))
subroutine gradrfmt(nr, nri, ri, wcr, rfmt, ld, grfmt)
subroutine gradzfmt(nr, nri, ri, wcr, zfmt, ld, gzfmt)