From 6fe660a3d5b721584daa11d045d642ca2bf54044 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 0aad8a1a5..0e6007bb5 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. ///