From 1c208e9a9289b2b933d01a23c33f387da57ff992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Sat, 10 Oct 2020 10:09:23 +0200 Subject: [PATCH] Avoid unnecessary extra matrix manipulation. When using the ParallelOverlappingILU0 it is not necessary to fix the overlap rows. --- opm/simulators/linalg/ISTLSolverEbos.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/simulators/linalg/ISTLSolverEbos.hpp b/opm/simulators/linalg/ISTLSolverEbos.hpp index d33af33b6..c9468fb87 100644 --- a/opm/simulators/linalg/ISTLSolverEbos.hpp +++ b/opm/simulators/linalg/ISTLSolverEbos.hpp @@ -208,7 +208,7 @@ namespace Opm } rhs_ = &b; - if (isParallel()) { + if (isParallel() && prm_.get("preconditioner.type") != "ParOverILU0") { makeOverlapRowsInvalid(getMatrix()); } prepareFlexibleSolver();