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