16real(8),
allocatable :: w(:),wt(:),jt(:,:)
17complex(8),
allocatable :: ew(:,:),jw(:,:),eps(:)
27 w(iw)=w1+t1*dble(iw-1)
42 ew(:,i)=t0*
zmi*w(:)*ew(:,i)
60 t1=dot_product(wt(:),jt(i,:))
68 call zftft(w,wt,3,jt(i,1),jw(:,i))
80 t1=abs(z2%re)+abs(z2%im)
87 if (i == j) z1=z1+1.d0
92 write(fname,
'("EPSILON_TDRT_",2I1,".OUT")') i,j
93 open(50,file=trim(fname),form=
'FORMATTED')
95 write(50,
'(2G18.10)') w(iw),dble(eps(iw))
99 write(50,
'(2G18.10)') w(iw),aimag(eps(iw))
105open(50,file=
'JTOTW.OUT',form=
'FORMATTED')
108 write(50,
'(3G18.10)') w(iw),jw(iw,i)
114write(*,
'("Info(dielectric_tdrt):")')
115write(*,
'(" dielectric tensor determined from real-time evolution")')
116write(*,
'(" written to EPSILON_TDRT_ij.OUT for components i,j = 1,2,3")')
118write(*,
'(" (Note that only those components which are not orthogonal to the")')
119write(*,
'(" applied A-field will be calculated correctly)")')
121write(*,ω
'(" Fourier transform of total current J() written to JTOTW.OUT")')
122deallocate(w,ew,jw,eps)
complex(8), parameter zmi
real(8), parameter fourpi
real(8), dimension(2) wplot