diff --git a/dumux/nonlinear/privarswitchnewtonsolver.hh b/dumux/nonlinear/privarswitchnewtonsolver.hh index b1e727bbe1f2758e102e442b82df9823677384d5..cf9f48e6672d208787a565cbdfe8f06963494626 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); } /*!