The Elk Code
dolpistl.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2013 J. K. Dewhurst, S. Sharma and E. K. U. Gross.
3 ! This file is distributed under the terms of the GNU General Public License.
4 ! See the file COPYING for license details.
5 
6 pure subroutine dolpistl(ngp,ngpq,igpig,igpqig,ld,od)
7 use modmain
8 use modphonon
9 implicit none
10 ! arguments
11 integer, intent(in) :: ngp,ngpq
12 integer, intent(in) :: igpig(ngkmax),igpqig(ngkmax)
13 integer, intent(in) :: ld
14 complex(8), intent(out) :: od(ld,*)
15 ! local variables
16 integer ig,j1,j2,j3,i,j
17 do j=1,ngp
18  ig=igpig(j)
19  j1=ivg(1,ig); j2=ivg(2,ig); j3=ivg(3,ig)
20  do i=1,ngpq
21  ig=igpqig(i)
22  ig=ivgig(ivg(1,ig)-j1,ivg(2,ig)-j2,ivg(3,ig)-j3)
23  od(i,j)=dcfunig(ig)
24  end do
25 end do
26 end subroutine
27 
pure subroutine dolpistl(ngp, ngpq, igpig, igpqig, ld, od)
Definition: dolpistl.f90:7
integer ngkmax
Definition: modmain.f90:499
integer, dimension(:,:,:), allocatable ivgig
Definition: modmain.f90:402
integer, dimension(:,:), allocatable ivg
Definition: modmain.f90:400
complex(8), dimension(:), allocatable dcfunig
Definition: modphonon.f90:76