From 2f211f5469add50c415dee1e69abc1e0f71af4f6 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 23 Jan 2015 20:46:46 +0100 Subject: [PATCH] Do recurse in the recursive funtion computeGlobalReduction! Somehow this was missed and only the first entry in the tuple was computed globally. --- opm/core/linalg/ParallelIstlInformation.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/opm/core/linalg/ParallelIstlInformation.hpp b/opm/core/linalg/ParallelIstlInformation.hpp index 0aad8a1a..0e6007bb 100644 --- a/opm/core/linalg/ParallelIstlInformation.hpp +++ b/opm/core/linalg/ParallelIstlInformation.hpp @@ -250,6 +250,7 @@ private: { auto& val=std::get(values); val = std::get(operators).localOperator()(val, std::get(receivedValues)); + computeGlobalReduction(receivedValues, operators, values); } /// \brief TMP for computing the the local reduction on the DOF that the process owns. ///