13 integer is,ia,ja,ias,jas
16 real(8) ft(3,maxatoms*maxspecies)
19 real(8),
allocatable :: vsmt0(:,:),vsir0(:)
20 complex(8),
allocatable :: dyn(:,:)
52 if (
allocated(
ivg0))
deallocate(
ivg0)
91 if (
mp_mpi)
write(*,
'("Info(phononsc): working on ",A)')
'DYN'//trim(
filext)
93 if (
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, &
181 call delfiles(evec=.true.,eval=.true.,occ=.true.)
real(8), dimension(3, maxatoms, maxspecies) bfcmt0
subroutine phscdvs(p, vsmt0, vsir0)
integer, dimension(3) ngridg
real(8), dimension(3, maxatoms, maxspecies) atposl0
complex(8), dimension(:), allocatable dvsir
integer, dimension(:,:), allocatable ivq
real(8), dimension(:,:), allocatable forcetot
subroutine dyntask(fnum, fext)
real(8), dimension(:), allocatable vsir
real(8), dimension(3, 3) bvec0
subroutine genscph(p, dph)
real(8), dimension(:,:), allocatable vscph
integer, dimension(3) ngridk0
real(8), dimension(3, maxatoms, maxspecies) atposl
real(8), dimension(:,:), allocatable vqc
integer, dimension(:), allocatable igfft
complex(8), dimension(:,:), pointer, contiguous dvsmt
real(8), dimension(3, 3) avec
real(8), dimension(maxspecies) spmass
integer, dimension(3) ngridk
real(8), dimension(3, maxatoms, maxspecies) mommtfix0
real(8), dimension(3, maxatoms, maxspecies) mommtfix
real(8), dimension(3, 3) avec0
real(8), dimension(3, 3) bvec
integer, dimension(:,:), allocatable ivg
integer, dimension(maxspecies) natoms
subroutine delfiles(evec, devec, eval, occ, pmat, epsi)
integer, dimension(maxatoms *maxspecies) idxis
real(8), dimension(3, 3) binv
integer, dimension(:,:), allocatable ivg0
integer, dimension(3) ngridg0
complex(8), dimension(:), allocatable, target dvsbs
real(8), dimension(3, 3) binv0
real(8), dimension(3, maxatoms, maxspecies) bfcmt00
integer, dimension(:), allocatable igfft0
real(8), dimension(3, maxatoms, maxspecies) atposc
real(8), dimension(:,:), pointer, contiguous vsmt
subroutine writedvs(fext)
real(8), dimension(3, maxatoms, maxspecies) atposc0
integer, dimension(maxspecies) natoms0
integer, dimension(maxatoms *maxspecies) idxis0