feat(polytrope-operator): finished computing the preconditioner

This commit is contained in:
2025-04-21 08:04:49 -04:00
parent 274f24034c
commit 4a6b7aaa35
2 changed files with 10 additions and 23 deletions

View File

@@ -64,15 +64,14 @@ private:
/*
* The schur preconditioner has the form
*
* | df/drtheta^-1 0 |
* | 0 S^-1 |
* ⎡ḟ(θ)^-1 0 ⎤
* ⎣ 0 S^-1
*
* Where S is the Schur compliment of the system
*
*/
// TODO: I have not combined these parts yet and they need to be combined
mutable std::unique_ptr<mfem::SparseMatrix> m_schurPreconditioner;
mutable std::unique_ptr<mfem::BlockDiagonalPreconditioner> m_schurPreconditioner;
bool m_isFinalized = false;