The Elk Code
 
Loading...
Searching...
No Matches
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
6pure subroutine dolpistl(ngp,ngpq,igpig,igpqig,ld,od)
7use modmain
8use modphonon
9implicit none
10! arguments
11integer, intent(in) :: ngp,ngpq
12integer, intent(in) :: igpig(ngkmax),igpqig(ngkmax)
13integer, intent(in) :: ld
14complex(8), intent(out) :: od(ld,*)
15! local variables
16integer ig,j1,j2,j3,i,j
17do 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
25end do
26end subroutine
27
pure subroutine dolpistl(ngp, ngpq, igpig, igpqig, ld, od)
Definition dolpistl.f90:7
integer, dimension(:,:), allocatable ivg
Definition modmain.f90:400
integer ngkmax
Definition modmain.f90:499
integer, dimension(:,:,:), allocatable ivgig
Definition modmain.f90:402
complex(8), dimension(:), allocatable dcfunig
Definition modphonon.f90:76