fix(poly): fixed -M bug in form

MFEM MixedVectorWeakDivergenceIntegrator is actually already -M in our derivation, I have negated this so that Mform -> M directly
This commit is contained in:
2025-04-23 09:13:30 -04:00
parent e4b56d7ce2
commit e56ab5644b
5 changed files with 262 additions and 109 deletions

View File

@@ -26,7 +26,7 @@
#include "probe.h"
class PolytropeOperator : public mfem::Operator {
class PolytropeOperator final : public mfem::Operator {
public:
PolytropeOperator(
std::unique_ptr<mfem::MixedBilinearForm> M,
@@ -84,8 +84,8 @@ private:
/*
* The schur preconditioner has the form
*
* ⎡ḟ(θ)^-1 0 ⎤
* ⎣ 0 S^-1 ⎦
* ⎡ḟ(θ)^-1 0 ⎤
* ⎣ 0 S^-1 ⎦
*
* Where S is the Schur compliment of the system
*