The Elk Code
 
Loading...
Searching...
No Matches
cbsht.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 cbsht(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,cbshti,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,cbshto,lmmaxo,cfmt1(i),lmmaxo, &
21 czero,cfmt2(i),lmmaxo)
22end subroutine
23
subroutine cbsht(nr, nri, cfmt1, cfmt2)
Definition cbsht.f90:7
complex(4), parameter czero
Definition modmain.f90:1236
integer lmmaxi
Definition modmain.f90:207
complex(4), dimension(:,:), allocatable cbshto
Definition modmain.f90:582
complex(4), parameter cone
Definition modmain.f90:1236
integer lmmaxo
Definition modmain.f90:203
complex(4), dimension(:,:), allocatable cbshti
Definition modmain.f90:581