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