Skip to content
Snippets Groups Projects
Commit 0dce4078 authored by Timo Koch's avatar Timo Koch
Browse files

[newton] set privarswitch verbosity level

parent 9d69cfbf
No related branches found
No related tags found
1 merge request!1091Feature/make privarswitch verbosity optional
...@@ -69,7 +69,8 @@ public: ...@@ -69,7 +69,8 @@ public:
void newtonBegin(const SolutionVector &u) override void newtonBegin(const SolutionVector &u) override
{ {
ParentType::newtonBegin(u); 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);
} }
/*! /*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment