NewtonMaxError moved to TypeTag-free parameter system

This commit is contained in:
Arne Morten Kvarving
2024-07-06 10:22:47 +02:00
parent 0195f8f113
commit 0bbcb09480
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ public:
{
const auto& constraintsMap = this->model().linearizer().constraintsMap();
this->lastError_ = this->error_;
Scalar newtonMaxError = Parameters::get<TypeTag, Parameters::NewtonMaxError>();
Scalar newtonMaxError = Parameters::Get<Parameters::NewtonMaxError<Scalar>>();
// calculate the error as the maximum weighted tolerance of
// the solution's residual