15 real(8) vc(3),w1,w2,t0,t1,t2
18 real(8),
allocatable :: w(:),wt(:),jt(:,:)
19 real(8),
allocatable :: f1(:),f2(:)
20 complex(8),
allocatable :: becw(:,:)
40 w(iw)=w1+t1*dble(iw-1)
60 deallocate(w,wt,jt,f1,f2,becw)
64 write(*,
'("Info(bornecdyn): working on ",A)')
'BEC'//trim(fext)
95 jt(:,its)=t1*jt(:,its)
100 call zftft(w,wt,3,jt(i,1),becw(:,i))
101 becw(:,i)=t0*becw(:,i)
114 write(80,
'(2G18.10)') w(iw),dble(becw(iw,i))+t2
118 write(80,
'(2G18.10)') w(iw),aimag(becw(iw,i))
128 call writetest(478,
'dynamical Born effective charge',nv=
nwplot,tol=1.d-2, &
subroutine writetest(id, descr, nv, iv, iva, tol, rv, rva, zv, zva)
subroutine zftft(w, wt, ld, ft, fw)
real(8), dimension(3, maxatoms, maxspecies) atposl0
real(8), dimension(3, 3) ainv
real(8), dimension(3, 0:1, maxatoms, maxspecies) atdvc
real(8), dimension(2) wplot
real(8), dimension(3, maxatoms, maxspecies) atposl
real(8), dimension(3) afieldc
real(8), dimension(:), allocatable times
real(8), dimension(:,:), allocatable chgsmt
subroutine bectask(fnum, fext)
real(8), dimension(maxspecies) spzn
subroutine wsplint(n, x, w)
pure subroutine r3mv(a, x, y)
real(8), dimension(3) afieldc0
real(8), dimension(3, maxatoms, maxspecies) atposc
real(8), dimension(3, maxatoms, maxspecies) atposc0