Commit 4e7716d2 authored by's avatar
Browse files

Use dune-solvers style to call the linearSolver_

parent c228c655
......@@ -102,7 +102,12 @@ public:
Solvers::resizeInitializeZero(correction_, x);
Solvers::resizeInitializeZero(constrainedCorrection_, r);
linearSolver_(constrainedCorrection_, A, r);
auto emptyIgnore = ignore;
Solvers::resizeInitialize(emptyIgnore, constrainedCorrection_, false);
linearSolver_.step_->setProblem(A, constrainedCorrection_, r);
linearization_->extendCorrection(constrainedCorrection_, correction_);
Markdown is supported
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