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)
85 if ((
ivq(1,iq) == 0).and.(
ivq(2,iq) == 0).and.(
ivq(3,iq) == 0))
then 97 +dble(i2)*
bvecu(1:3,2) &
98 +dble(i3)*
bvecu(1:3,3)
124 ifq=j3*
ngridq(2)*n1+j2*n1+j1+1
130 if (
allocated(
vrcu))
deallocate(
vrcu)
134 v(3)=dble(i3)/dble(
ngridq(3))
136 v(2)=dble(i2)/dble(
ngridq(2))
138 v(1)=dble(i1)/dble(
ngridq(1))
145 if (any(
task == [720,725]))
then 146 if (
allocated(
wkpt))
deallocate(
wkpt)
165 vkl(1:3,ik)=vkl0(1:3,ik0)+
vql(1:3,ikpa)
166 vkc(1:3,ik)=vkc0(1:3,ik0)+
vqc(1:3,ikpa)
170 deallocate(vkl0,vkc0,wkpt0)
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
pure subroutine r3mv(a, x, y)
integer, dimension(2, 3) intkpa
subroutine nfftifc(np, nd, n)