Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/formal/divergence_operator_1D_s.F90
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
implicit none
contains

#ifdef __GFORTRAN__
#if !(HAVE_DO_CONCURRENT_TYPE_SPEC_SUPPORT && HAVE_LOCALITY_SPECIFIER_SUPPORT)

pure function negate_and_flip(A) result(Ap)
!! Transform a mimetic matrix upper block into a lower block
Expand Down
2 changes: 1 addition & 1 deletion src/formal/gradient_operator_1D_s.F90
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

contains

#ifdef __GFORTRAN__
#if !(HAVE_DO_CONCURRENT_TYPE_SPEC_SUPPORT && HAVE_LOCALITY_SPECIFIER_SUPPORT)

pure function negate_and_flip(A) result(Ap)
!! Transform a mimetic matrix upper block into a lower block
Expand Down
4 changes: 2 additions & 2 deletions src/formal/vector_1D_s.F90
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ pure function premultiply_diagonal(d,A) result(DA)

allocate(DA, mold=A)

#ifdef HAVE_DO_CONCURRENT_TYPE_SPEC_SUPPORT && HAVE_LOCALITY_SPECIFIER_SUPPORT
#if HAVE_DO_CONCURRENT_TYPE_SPEC_SUPPORT && HAVE_LOCALITY_SPECIFIER_SUPPORT
do concurrent(integer :: row = 1 : size(A,1)) default(none) shared(d, A, DA)
DA(row,:) = d(row) * A(row,:)
end do
Expand All @@ -173,7 +173,7 @@ pure function postmultiply_diagonal(A,d) result(AD)

allocate(AD, mold=A)

#ifdef HAVE_DO_CONCURRENT_TYPE_SPEC_SUPPORT && HAVE_LOCALITY_SPECIFIER_SUPPORT
#if HAVE_DO_CONCURRENT_TYPE_SPEC_SUPPORT && HAVE_LOCALITY_SPECIFIER_SUPPORT
do concurrent(integer :: column = 1 : size(A,2)) default(none) shared(d, A, AD)
AD(:,column) = A(:,column) * d(column)
end do
Expand Down