16 real(8),
allocatable :: rvfmt(:,:,:),rvfir(:,:)
18 write(fext,
'("_TS",I8.8,".OUT")')
itimes 21 call delfile(
'TOTENERGY_TD.OUT')
47 open(50,file=
'CHARGEMT_TD.OUT',form=
'FORMATTED',position=
'APPEND')
52 write(50,
'(2I4,G18.10)') is,ia,
chgmt(ias)
58 open(50,file=
'CHARGEIR_TD.OUT',form=
'FORMATTED',position=
'APPEND')
64 open(50,file=
'JTOT_TD.OUT',form=
'FORMATTED',position=
'APPEND')
68 open(50,file=
'JTOTM_TD.OUT',form=
'FORMATTED',position=
'APPEND')
74 open(50,file=
'FORCES'//trim(fext),form=
'FORMATTED',action=
'WRITE')
82 open(50,file=
'AFIND_TD.OUT',form=
'FORMATTED',position=
'APPEND')
90 open(50,file=
'RHO1D'//trim(fext),form=
'FORMATTED',action=
'WRITE')
91 open(51,file=
'RHOLINES.OUT',form=
'FORMATTED',action=
'WRITE')
98 open(50,file=
'RHO2D'//trim(fext),form=
'FORMATTED',action=
'WRITE')
104 open(50,file=
'RHO3D'//trim(fext),form=
'FORMATTED',action=
'WRITE')
113 rvfmt(:,:,:)=
magmt(:,:,:)
114 rvfir(:,:)=
magir(:,:)
119 rvfmt(:,:,3)=
magmt(:,:,1)
120 rvfir(:,3)=
magir(:,1)
123 open(50,file=
'MAG1D'//trim(fext),form=
'FORMATTED',action=
'WRITE')
124 open(51,file=
'MAGLINES.OUT',form=
'FORMATTED',action=
'WRITE')
125 call plot1d(50,51,3,rvfmt,rvfir)
130 open(50,file=
'MAG2D'//trim(fext),form=
'FORMATTED',action=
'WRITE')
131 call plot2d(.true.,50,3,rvfmt,rvfir)
135 open(50,file=
'MAG3D'//trim(fext),form=
'FORMATTED',action=
'WRITE')
136 call plot3d(50,3,rvfmt,rvfir)
139 deallocate(rvfmt,rvfir)
143 open(50,file=
'JR1D'//trim(fext),form=
'FORMATTED',action=
'WRITE')
144 open(51,file=
'JRLINES.OUT',form=
'FORMATTED',action=
'WRITE')
151 open(50,file=
'JR2D'//trim(fext),form=
'FORMATTED',action=
'WRITE')
157 open(50,file=
'JR3D'//trim(fext),form=
'FORMATTED',action=
'WRITE')
real(8), dimension(3) jtot
real(8), dimension(:), pointer, contiguous rhoir
integer, dimension(maxatoms, maxspecies) idxas
real(8), dimension(:,:), pointer, contiguous rhomt
real(8), dimension(:), allocatable chgmt
subroutine plot3d(fnum, nf, rfmt, rfir)
subroutine plot1d(fnum1, fnum2, nf, rfmt, rfir)
real(8), dimension(:,:,:), pointer, contiguous magmt
subroutine plot2d(tproj, fnum, nf, rfmt, rfir)
real(8), dimension(3, 0:1) afindt
integer, dimension(maxspecies) natoms
subroutine delfile(fname)
real(8), dimension(:), allocatable times
subroutine writeforces(fnum)
real(8), dimension(:,:), pointer, contiguous magir
real(8), dimension(:,:,:), allocatable jrmt
real(8), dimension(:,:), allocatable jrir