feat(poly): refactoring PolytropeOperator to work on the reduced system so as to avoid rank deficiencies

This commit is contained in:
2025-06-05 12:37:00 -04:00
parent 4eb8b71271
commit a31c966146
7 changed files with 272 additions and 113 deletions

View File

@@ -0,0 +1,11 @@
#pragma once
#include "mfem.hpp"
namespace serif::utilities {
mfem::SparseMatrix buildReducedMatrix(
const mfem::SparseMatrix& matrix,
const mfem::Array<int>& trialEssentialDofs,
const mfem::Array<int>& testEssentialDofs
);
}