Commit 4e7716d2 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
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_->setIgnore(emptyIgnore);
linearSolver_.step_->setProblem(A, constrainedCorrection_, r);
linearSolver_.preprocess();
linearSolver_.solve();
linearization_->extendCorrection(constrainedCorrection_, correction_);
......
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