9subroutine plot3d(fnum,nf,rfmt,rfir)
29integer,
intent(in) :: fnum,nf
30real(8),
intent(in) :: rfmt(npmtmax,natmtot,nf),rfir(ngtot,nf)
35real(8),
allocatable :: vpl(:,:),fp(:,:)
36if ((nf < 1).or.(nf > 4))
then
38 write(*,
'("Error(plot3d): invalid number of functions : ",I8)') nf
45allocate(vpl(3,np),fp(np,nf))
50 call rfpts(np,vpl,rfmt(:,:,jf),rfir(:,jf),fp(:,jf))
53write(fnum,
'(3I6," : grid size")')
np3d(:)
56 write(fnum,
'(7G18.10)') v1(:),(fp(ip,jf),jf=1,nf)
real(8), dimension(3, 3) avec
integer, dimension(3) np3d