The Elk Code
 
Loading...
Searching...
No Matches
cfsht.f90
Go to the documentation of this file.
1
2! Copyright (C) 2021 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 cfsht(nr,nri,cfmt1,cfmt2)
7use modmain
8implicit none
9! arguments
10integer, intent(in) :: nr,nri
11complex(4), intent(in) :: cfmt1(*)
12complex(4), intent(out) :: cfmt2(*)
13! local variables
14integer i
15! transform the inner part of the muffin-tin
16call cgemm('N','N',lmmaxi,nri,lmmaxi,cone,cfshti,lmmaxi,cfmt1,lmmaxi,czero, &
17 cfmt2,lmmaxi)
18! transform the outer part of the muffin-tin
19i=lmmaxi*nri+1
20call cgemm('N','N',lmmaxo,nr-nri,lmmaxo,cone,cfshto,lmmaxo,cfmt1(i),lmmaxo, &
21 czero,cfmt2(i),lmmaxo)
22end subroutine
23
subroutine cfsht(nr, nri, cfmt1, cfmt2)
Definition cfsht.f90:7
complex(4), parameter czero
Definition modmain.f90:1236
complex(4), dimension(:,:), allocatable cfshti
Definition modmain.f90:581
integer lmmaxi
Definition modmain.f90:207
complex(4), parameter cone
Definition modmain.f90:1236
complex(4), dimension(:,:), allocatable cfshto
Definition modmain.f90:582
integer lmmaxo
Definition modmain.f90:203