The Elk Code
rbshtip.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2023 J. K. Dewhurst and S. Sharma.
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
rbshtip
(nr,nri,rfmt)
7
use
modmain
8
implicit none
9
! arguments
10
integer
,
intent(in)
:: nr,nri
11
real(8)
,
intent(inout)
:: rfmt(*)
12
! local variables
13
integer
nro,npi,np,i
14
nro=nr-nri
15
npi=
lmmaxi
*nri
16
np=npi+
lmmaxo
*nro
17
i=npi+1
18
block
19
real(8)
f(np)
20
f(1:np)=rfmt(1:np)
21
! transform the inner part of the muffin-tin function in-place
22
call
dgemm(
'N'
,
'N'
,
lmmaxi
,nri,
lmmaxi
,1.d0,
rbshti
,
lmmaxi
,f,
lmmaxi
,0.d0,rfmt, &
23
lmmaxi
)
24
! transform the outer part of the muffin-tin function in-place
25
call
dgemm(
'N'
,
'N'
,
lmmaxo
,nro,
lmmaxo
,1.d0,
rbshto
,
lmmaxo
,f(i),
lmmaxo
,0.d0, &
26
rfmt(i),
lmmaxo
)
27
end
block
28
end subroutine
29
rbshtip
subroutine rbshtip(nr, nri, rfmt)
Definition:
rbshtip.f90:7
modmain::lmmaxo
integer lmmaxo
Definition:
modmain.f90:203
modmain::rbshto
real(8), dimension(:,:), allocatable rbshto
Definition:
modmain.f90:569
modmain::rbshti
real(8), dimension(:,:), allocatable rbshti
Definition:
modmain.f90:565
modmain
Definition:
modmain.f90:6
modmain::lmmaxi
integer lmmaxi
Definition:
modmain.f90:207
rbshtip.f90
Generated by
1.8.14