From 0dce4078b7a76b930c0e5b1d4e31b3be6d7cced9 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Wed, 11 Jul 2018 09:40:12 +0200 Subject: [PATCH] [newton] set privarswitch verbosity level --- dumux/nonlinear/privarswitchnewtonsolver.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dumux/nonlinear/privarswitchnewtonsolver.hh b/dumux/nonlinear/privarswitchnewtonsolver.hh index b1e727bbe1..cf9f48e667 100644 --- a/dumux/nonlinear/privarswitchnewtonsolver.hh +++ b/dumux/nonlinear/privarswitchnewtonsolver.hh @@ -69,7 +69,8 @@ public: void newtonBegin(const SolutionVector &u) override { ParentType::newtonBegin(u); - priVarSwitch_ = std::make_unique<PrimaryVariableSwitch>(u.size()); + const int verbosity = getParamFromGroup<int>(this->paramGroup(), "PrimaryVariableSwitch.Verbosity", 1); + priVarSwitch_ = std::make_unique<PrimaryVariableSwitch>(u.size(), verbosity); } /*! -- GitLab