Commit aaa2b836 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[newtonsolver] Fix deprecation warning by using new updateDirichletConstraints function

parent 7de6d61b
......@@ -167,7 +167,7 @@ private:
const auto& problem = this->assembler().problem(id);
const auto& gridGeometry = this->assembler().gridGeometry(id);
auto& gridVariables = this->assembler().gridVariables(id);
priVarSwitch.updateBoundary(problem, gridGeometry, gridVariables, sol[id]);
priVarSwitch.updateDirichletConstraints(problem, gridGeometry, gridVariables, sol[id]);
}
/*!
......
......@@ -808,7 +808,7 @@ protected:
const auto& problem = this->assembler().problem();
const auto& gridGeometry = this->assembler().gridGeometry();
auto& gridVariables = this->assembler().gridVariables();
priVarSwitch_->updateBoundary(problem, gridGeometry, gridVariables, sol);
priVarSwitch_->updateDirichletConstraints(problem, gridGeometry, gridVariables, sol);
}
/*!
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment