The Elk Code
 
Loading...
Searching...
No Matches
rzmctmu.f90
Go to the documentation of this file.
1
2! Copyright (C) 2022 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
6subroutine rzmctmu(l,n,a,b,ld,c)
7use modomp
8implicit none
9! arguments
10integer, intent(in) :: l,n
11complex(8), intent(in) :: a(l,n),b(l,n)
12integer, intent(in) :: ld
13complex(8), intent(inout) :: c(ld,*)
14! local variables
15integer j,nthd
16call holdthd(n,nthd)
17!$OMP PARALLEL DO DEFAULT(SHARED) &
18!$OMP SCHEDULE(DYNAMIC) &
19!$OMP NUM_THREADS(nthd)
20do j=1,n
21 call dgemv('T',2*l,j,1.d0,a,2*l,b(1,j),1,1.d0,c(1,j),2)
22end do
23!$OMP END PARALLEL DO
24call freethd(nthd)
25end subroutine
26
subroutine holdthd(nloop, nthd)
Definition modomp.f90:78
subroutine freethd(nthd)
Definition modomp.f90:106
subroutine rzmctmu(l, n, a, b, ld, c)
Definition rzmctmu.f90:7