From 559c91505dda53d79b69da2d6e5211923c4b3e04 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Mon, 26 Oct 2015 23:45:12 +0100 Subject: [PATCH] [bugfix] Fixes copyOwnerToAll. Previously, we copied owner/overlap to all which is clearly wrong. Now we copy from owner to all as the function name says. --- opm/core/linalg/ParallelIstlInformation.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/core/linalg/ParallelIstlInformation.hpp b/opm/core/linalg/ParallelIstlInformation.hpp index a9d1a93f4..e6a24f55e 100644 --- a/opm/core/linalg/ParallelIstlInformation.hpp +++ b/opm/core/linalg/ParallelIstlInformation.hpp @@ -144,8 +144,9 @@ public: void copyOwnerToAll (const T& source, T& dest) const { typedef Dune::Combine,Dune::EnumItem,Dune::OwnerOverlapCopyAttributeSet::AttributeSet> OwnerOverlapSet; + typedef Dune::EnumItem OwnerSet; typedef Dune::Combine,Dune::OwnerOverlapCopyAttributeSet::AttributeSet> AllSet; - OwnerOverlapSet sourceFlags; + OwnerSet sourceFlags; AllSet destFlags; Dune::Interface interface(communicator_); if( !remoteIndices_->isSynced() )