44if (any(
task == [105,180,185,320,330,331]))
then
55if (any(
task == [5,205,240,241,300,600,601,620]).or.(
xctype(1) < 0).or. &
58 if (any(iv(:) /= 0))
then
60 write(*,
'("Error(init2): k-point grid incommensurate with q-point grid")')
61 write(*,
'(" ngridk : ",3I6)')
ngridk
62 write(*,
'(" ngridq : ",3I6)')
ngridq
73if (
allocated(
ivq))
deallocate(
ivq)
75if (
allocated(
vql))
deallocate(
vql)
77if (
allocated(
vqc))
deallocate(
vqc)
83boxl(1,1)=1.d0; boxl(2,2)=1.d0; boxl(3,3)=1.d0
86call genppts(.true.,
nsymqpt,
symqpt,
ngridq,
nqptnr,
epslat,
bvec,boxl,
nqpt,
ivqiq, &
105if (any(
task == [5,180,185,300,320,330,331,600,601,620]).or. &
117 if (
allocated(
dkdc))
deallocate(
dkdc)
subroutine genppts(tfbz, nsym, sym, ngridp, npptnr, epslat, bvec, boxl, nppt, ipvip, ipvipnr, ivp, vpl, vpc, wppt, wpptnr)
real(8), dimension(3, 3) bvec
integer, dimension(:,:), allocatable ivq
integer, dimension(3) xctype
integer, dimension(:,:,:), allocatable ivqiq
integer, dimension(3, 3, 48) symqpt
real(8), dimension(:,:), allocatable vqc
real(8), dimension(:,:), allocatable vql
real(8), dimension(:), allocatable wqpt
integer, dimension(3) ngridk
integer, dimension(:,:,:), allocatable ivqiqnr
integer, dimension(3, 3, 48) symlat
integer, dimension(3) ngridq
integer, dimension(maxsymcrys) lsplsymc
complex(8), dimension(:,:,:), allocatable vclmat
complex(8), dimension(:,:,:), allocatable dkdc
subroutine writevars(vname, n1, n2, n3, n4, n5, n6, nv, iv, iva, rv, rva, zv, zva, sv, sva)