The Elk Code
rfsht.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 rfsht(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,rfshti,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,rfshto,lmmaxo,rfmt1(i),lmmaxo, &
21  0.d0,rfmt2(i),lmmaxo)
22 end subroutine
23 
integer lmmaxo
Definition: modmain.f90:203
integer lmmaxi
Definition: modmain.f90:207
real(8), dimension(:,:), allocatable rfshti
Definition: modmain.f90:567
real(8), dimension(:,:), allocatable rfshto
Definition: modmain.f90:571
subroutine rfsht(nr, nri, rfmt1, rfmt2)
Definition: rfsht.f90:7