The Elk Code
zbshtip.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2023 J. K. Dewhurst and S. Sharma.
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 zbshtip(nr,nri,zfmt)
7 use modmain
8 implicit none
9 ! arguments
10 integer, intent(in) :: nr,nri
11 complex(8), intent(inout) :: zfmt(*)
12 ! local variables
13 integer nro,npi,np,i
14 nro=nr-nri
15 npi=lmmaxi*nri
16 np=npi+lmmaxo*nro
17 i=npi+1
18 block
19 complex(8) f(np)
20 f(1:np)=zfmt(1:np)
21 ! transform the inner part of the muffin-tin function in-place
22 call zgemm('N','N',lmmaxi,nri,lmmaxi,zone,zbshti,lmmaxi,f,lmmaxi,zzero,zfmt, &
23  lmmaxi)
24 ! transform the outer part of the muffin-tin function in-place
25 call zgemm('N','N',lmmaxo,nro,lmmaxo,zone,zbshto,lmmaxo,f(i),lmmaxo,zzero, &
26  zfmt(i),lmmaxo)
27 end block
28 end subroutine
29 
integer lmmaxo
Definition: modmain.f90:203
complex(8), parameter zone
Definition: modmain.f90:1234
subroutine zbshtip(nr, nri, zfmt)
Definition: zbshtip.f90:7
complex(8), parameter zzero
Definition: modmain.f90:1234
integer lmmaxi
Definition: modmain.f90:207
complex(8), dimension(:,:), allocatable zbshto
Definition: modmain.f90:577
complex(8), dimension(:,:), allocatable zbshti
Definition: modmain.f90:573