13integer is,ia,ja,ias,jas
16real(8) ft(3,maxatoms*maxspecies)
19real(8),
allocatable :: vsmt0(:,:),vsir0(:)
20complex(8),
allocatable :: dyn(:,:)
91if (
mp_mpi)
write(*,
'("Info(phononsc): working on ",A)')
'DYN'//trim(
filext)
93if (
task == 202)
goto 10
131 deallocate(vsmt0,vsir0)
146 z2=z1*cmplx(cos(t1),sin(t1),8)
149 dyn(ip,ias)=dyn(ip,ias)+z2*t1
165 if (abs(a) < 1.d-12) a=0.d0
166 if (abs(b) < 1.d-12) b=0.d0
167 write(80,
'(2G18.10," : is = ",I4,", ia = ",I4,", ip = ",I4)') a,b,is, &
181call delfiles(evec=.true.,eval=.true.,occ=.true.)
subroutine dyntask(fnum, fext)
subroutine genscph(p, dph)
subroutine delfiles(evec, devec, eval, occ, pmat, epsi)
integer, dimension(:,:), allocatable ivg0
real(8), dimension(3, 3) avec0
integer, dimension(3) ngridg
integer, dimension(3) ngridk0
real(8), dimension(3, maxatoms, maxspecies) atposc
integer, dimension(maxspecies) natoms
real(8), dimension(3, 3) bvec
integer, dimension(:,:), allocatable ivq
real(8), dimension(3, maxatoms, maxspecies) mommtfix0
real(8), dimension(3, 3) binv
real(8), dimension(3, 3) bvec0
integer, dimension(maxatoms *maxspecies) idxis
real(8), dimension(3, 3) avec
real(8), dimension(:,:), allocatable vqc
real(8), dimension(3, maxatoms, maxspecies) bfcmt00
integer, dimension(3) ngridk
real(8), dimension(3, maxatoms, maxspecies) atposl0
integer, dimension(:), allocatable igfft
real(8), dimension(3, maxatoms, maxspecies) mommtfix
real(8), dimension(3, 3) binv0
real(8), dimension(3, maxatoms, maxspecies) atposc0
real(8), dimension(:,:), allocatable forcetot
integer, dimension(maxatoms *maxspecies) idxis0
real(8), dimension(:,:), pointer, contiguous vsmt
integer, dimension(3) ngridg0
integer, dimension(:,:), allocatable ivg
integer, dimension(maxspecies) natoms0
real(8), dimension(:), allocatable vsir
real(8), dimension(3, maxatoms, maxspecies) atposl
real(8), dimension(3, maxatoms, maxspecies) bfcmt0
real(8), dimension(maxspecies) spmass
integer, dimension(:), allocatable igfft0
complex(8), dimension(:), allocatable dvsir
complex(8), dimension(:,:), pointer, contiguous dvsmt
real(8), dimension(:,:), allocatable vscph
complex(8), dimension(:), allocatable, target dvsbs
subroutine phscdvs(p, vsmt0, vsir0)
subroutine writedvs(fext)