Skip to content
Snippets Groups Projects
Commit 034798e5 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[test.stokes...] update saddle point solver usage

parent b3881bf8
No related branches found
No related tags found
No related merge requests found
Pipeline #38456 failed
...@@ -283,7 +283,7 @@ public: ...@@ -283,7 +283,7 @@ public:
C.set_entry(dof_index, dof_index, 1.); C.set_entry(dof_index, dof_index, 1.);
// now solve the system // now solve the system
XT::LA::SaddlePointSolver<double> solver(A, B, B, C); XT::LA::SaddlePointSolver<Vector, Matrix> solver(A, B, B, C);
Vector solution_u(m), solution_p(n); Vector solution_u(m), solution_p(n);
// solve both by direct solver and by schurcomplement (where the schur complement is inverted by CG and the inner // solve both by direct solver and by schurcomplement (where the schur complement is inverted by CG and the inner
// solves with A are using a direct method) // solves with A are using a direct method)
......
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