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
6
subroutine
rzmctmu
(l,n,a,b,ld,c)
7
use
modomp
8
implicit none
9
! arguments
10
integer
,
intent(in)
:: l,n
11
complex(8)
,
intent(in)
:: a(l,n),b(l,n)
12
integer
,
intent(in)
:: ld
13
complex(8)
,
intent(inout)
:: c(ld,*)
14
! local variables
15
integer
j,nthd
16
call
holdthd
(n,nthd)
17
!$OMP PARALLEL DO DEFAULT(SHARED) &
18
!$OMP SCHEDULE(DYNAMIC) &
19
!$OMP NUM_THREADS(nthd)
20
do
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)
22
end do
23
!$OMP END PARALLEL DO
24
call
freethd
(nthd)
25
end subroutine
26
modomp
Definition
modomp.f90:6
modomp::holdthd
subroutine holdthd(nloop, nthd)
Definition
modomp.f90:78
modomp::freethd
subroutine freethd(nthd)
Definition
modomp.f90:106
rzmctmu
subroutine rzmctmu(l, n, a, b, ld, c)
Definition
rzmctmu.f90:7
rzmctmu.f90
Generated by
1.9.8