The Elk Code
rbsht.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
subroutine
rbsht
(nr,nri,rfmt1,rfmt2)
7
use
modmain
8
implicit none
9
! arguments
10
integer
,
intent(in)
:: nr,nri
11
real(8)
,
intent(in)
:: rfmt1(*)
12
real(8)
,
intent(out)
:: rfmt2(*)
13
! local variables
14
integer
i
15
! transform the inner part of the muffin-tin
16
call
dgemm(
'N'
,
'N'
,
lmmaxi
,nri,
lmmaxi
,1.d0,
rbshti
,
lmmaxi
,rfmt1,
lmmaxi
,0.d0, &
17
rfmt2,
lmmaxi
)
18
! transform the outer part of the muffin-tin
19
i=
lmmaxi
*nri+1
20
call
dgemm(
'N'
,
'N'
,
lmmaxo
,nr-nri,
lmmaxo
,1.d0,
rbshto
,
lmmaxo
,rfmt1(i),
lmmaxo
, &
21
0.d0,rfmt2(i),
lmmaxo
)
22
end subroutine
23
modmain::lmmaxo
integer lmmaxo
Definition:
modmain.f90:203
modmain::rbshto
real(8), dimension(:,:), allocatable rbshto
Definition:
modmain.f90:569
rbsht
subroutine rbsht(nr, nri, rfmt1, rfmt2)
Definition:
rbsht.f90:7
modmain::rbshti
real(8), dimension(:,:), allocatable rbshti
Definition:
modmain.f90:565
modmain
Definition:
modmain.f90:6
modmain::lmmaxi
integer lmmaxi
Definition:
modmain.f90:207
rbsht.f90
Generated by
1.8.14