The Elk Code
Loading...
Searching...
No Matches
olplolo.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
olplolo
(is,ias,ngp,ld,o)
7
use
modmain
8
implicit none
9
! arguments
10
integer
,
intent(in)
:: is,ias,ngp,ld
11
complex(8)
,
intent(out)
:: o(ld,*)
12
! local variables
13
integer
ilo,jlo,l,lm,i,j
14
do
ilo=1,
nlorb
(is)
15
l=
lorbl
(ilo,is)
16
do
jlo=1,
nlorb
(is)
17
if
(
lorbl
(jlo,is) == l)
then
18
do
lm=l**2+1,(l+1)**2
19
i=ngp+
idxlo
(lm,ilo,ias)
20
j=ngp+
idxlo
(lm,jlo,ias)
21
if
(i <= j) o(i,j)=
ololo
(ilo,jlo,ias)
22
end do
23
end if
24
end do
25
end do
26
end subroutine
27
modmain
Definition
modmain.f90:6
modmain::idxlo
integer, dimension(:,:,:), allocatable idxlo
Definition
modmain.f90:850
modmain::nlorb
integer, dimension(maxspecies) nlorb
Definition
modmain.f90:786
modmain::ololo
real(8), dimension(:,:,:), allocatable ololo
Definition
modmain.f90:854
modmain::lorbl
integer, dimension(maxlorb, maxspecies) lorbl
Definition
modmain.f90:796
olplolo
pure subroutine olplolo(is, ias, ngp, ld, o)
Definition
olplolo.f90:7
olplolo.f90
Generated by
1.9.8