From fd2407093185eab9a0f85c15a43d70f10c5bc093 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Thu, 15 Sep 2016 16:38:49 +0200 Subject: [PATCH] Omit "well converge" on non-root process --- opm/autodiff/BlackoilModelBase_impl.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/opm/autodiff/BlackoilModelBase_impl.hpp b/opm/autodiff/BlackoilModelBase_impl.hpp index ed8d6003c..d5ab0d3be 100644 --- a/opm/autodiff/BlackoilModelBase_impl.hpp +++ b/opm/autodiff/BlackoilModelBase_impl.hpp @@ -1082,7 +1082,11 @@ namespace detail { } while (it < 15); if (converged) { - OpmLog::note("well converged iter: " + std::to_string(it)); + if (terminalOutputEnabled()) + { + OpmLog::note("well converged iter: " + std::to_string(it)); + } + const int nw = wells().number_of_wells; { // We will set the bhp primary variable to the new ones,