The Elk Code
Loading...
Searching...
No Matches
olpalo.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2002-2005 J. K. Dewhurst, S. Sharma and C. Ambrosch-Draxl.
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
olpalo
(is,ias,ngp,apwalm,ld,o)
7
use
modmain
8
implicit none
9
! arguments
10
integer
,
intent(in)
:: is,ias,ngp
11
complex(8)
,
intent(in)
:: apwalm(
ngkmax
,
apwordmax
,
lmmaxapw
)
12
integer
,
intent(in)
:: ld
13
complex(8)
,
intent(inout)
:: o(ld,*)
14
! local variables
15
integer
ilo,io,l,lm,j
16
real
(8) t1
17
do
ilo=1,
nlorb
(is)
18
l=
lorbl
(ilo,is)
19
do
lm=l**2+1,(l+1)**2
20
j=ngp+
idxlo
(lm,ilo,ias)
21
do
io=1,
apword
(l,is)
22
t1=
oalo
(io,ilo,ias)
23
o(1:ngp,j)=o(1:ngp,j)+t1*conjg(apwalm(1:ngp,io,lm))
24
end do
25
end do
26
end do
27
end subroutine
28
modmain
Definition
modmain.f90:6
modmain::idxlo
integer, dimension(:,:,:), allocatable idxlo
Definition
modmain.f90:850
modmain::apword
integer, dimension(0:maxlapw, maxspecies) apword
Definition
modmain.f90:758
modmain::lmmaxapw
integer lmmaxapw
Definition
modmain.f90:199
modmain::apwordmax
integer apwordmax
Definition
modmain.f90:760
modmain::ngkmax
integer ngkmax
Definition
modmain.f90:499
modmain::nlorb
integer, dimension(maxspecies) nlorb
Definition
modmain.f90:786
modmain::oalo
real(8), dimension(:,:,:), allocatable oalo
Definition
modmain.f90:852
modmain::lorbl
integer, dimension(maxlorb, maxspecies) lorbl
Definition
modmain.f90:796
olpalo
pure subroutine olpalo(is, ias, ngp, apwalm, ld, o)
Definition
olpalo.f90:7
olpalo.f90
Generated by
1.9.8