feat(support): continued migration to new field dof support system

mass normaliztion, gravity, displacement, and hydrostatic equilibrium are now migrated
This commit is contained in:
2026-08-24 15:44:24 -04:00
parent 0f3ca8050b
commit 177ae8b38a
48 changed files with 1738 additions and 935 deletions

View File

@@ -160,6 +160,12 @@ export namespace mean_field::operators {
[[nodiscard]] const fem::FEM &GetFEM() const noexcept;
[[nodiscard]] const field::FieldDofMap &GetEnthalpyMap() const noexcept;
[[nodiscard]] const field::FieldDofMap &GetGravityPotentialMap() const noexcept;
[[nodiscard]] const field::FieldDofMap &GetDisplacementMap() const noexcept;
private:
struct ElementPAData {
int elementId{-1};
@@ -219,6 +225,11 @@ export namespace mean_field::operators {
std::vector<ElementPAData> m_elements;
mfem::Vector m_cachedResidual;
mutable mfem::Vector m_enthalpyVariationTrue;
mutable mfem::Vector m_gravityPotentialVariationTrue;
mutable mfem::Vector m_displacementVariationTrue;
mutable mfem::Vector m_fullEnthalpyAction;
std::uint64_t m_residualPreparationCount{0};
mutable std::uint64_t m_residualApplicationCount{0};