11 integer i1,i2,i3,j1,j2,j3
12 integer ik0,ik,ikpa,nk,i
16 real(8),
allocatable :: vkl0(:,:),vkc0(:,:),wkpt0(:)
42 if (
allocated(
ivq))
deallocate(
ivq)
52 if (
allocated(
vql))
deallocate(
vql)
54 if (
allocated(
vqc))
deallocate(
vqc)
56 if (
allocated(
qc))
deallocate(
qc)
58 if (
allocated(
wqpt))
deallocate(
wqpt)
90 if ((
ivq(1,iq) == 0).and.(
ivq(2,iq) == 0).and.(
ivq(3,iq) == 0))
then 102 +dble(i2)*
bvecu(1:3,2) &
103 +dble(i3)*
bvecu(1:3,3)
105 qc(iq)=norm2(
vqc(1:3,iq))
131 ifq=j3*
ngridq(2)*n1+j2*n1+j1+1
137 if (
allocated(
vrcu))
deallocate(
vrcu)
141 v(3)=dble(i3)/dble(
ngridq(3))
143 v(2)=dble(i2)/dble(
ngridq(2))
145 v(1)=dble(i1)/dble(
ngridq(1))
152 if (any(
task == [720,725]))
then 153 if (
allocated(
wkpt))
deallocate(
wkpt)
172 vkl(1:3,ik)=vkl0(1:3,ik0)+
vql(1:3,ikpa)
173 vkc(1:3,ik)=vkc0(1:3,ik0)+
vqc(1:3,ikpa)
177 deallocate(vkl0,vkc0,wkpt0)
real(8), dimension(:), allocatable qc
integer, dimension(:,:), allocatable ivq
integer, dimension(3) ngridkpa
integer, dimension(:), allocatable iqrzf
real(8), dimension(3, 3) bvecu
integer, dimension(:), allocatable iqfft
real(8), dimension(:,:), allocatable vkc
real(8), dimension(:,:), allocatable vqc
real(8), dimension(:), allocatable wkpt
real(8), dimension(:,:), allocatable vql
real(8), dimension(3, 3) avecu
integer, dimension(:,:,:), allocatable ivqiq
integer, dimension(3) ngridq
real(8), dimension(:,:), allocatable vkl
real(8), dimension(3, 3) binv
integer, dimension(2, 3) intq
real(8), dimension(:,:), allocatable vrcu
integer, dimension(:), allocatable ifqrz
real(8), dimension(:), allocatable wqpt
pure subroutine r3mv(a, x, y)
integer, dimension(2, 3) intkpa
subroutine nfftifc(np, nd, n)