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

@@ -61,6 +61,8 @@ export namespace mean_field::operators {
* Density and displacement are borrowed from the shared gravity-field
* linearization context. This keeps the mass row on exactly the same
* frozen state and geometry as the gravity and mechanical rows.
* Jacobian directions use the corresponding registered FieldDof
* coordinates; expansion to MFEM true-DOF vectors is private.
*/
class PreparedMassNormalizationOperator final {
public:
@@ -153,6 +155,9 @@ export namespace mean_field::operators {
MassNormalizationDependencies m_preparedDependencies;
mfem::Vector m_cachedResidual;
mutable mfem::Vector m_densityVariationTrue;
mutable mfem::Vector m_displacementVariationTrue;
double m_currentMass{0.0};
double m_targetMass{0.0};