10#ifdef MOOSE_MFEM_ENABLED
Base class for construction of an object that is restricted to a subset of subdomains of the problem ...
Base class for objects constraining the value an MFEM variable may take within one or more mesh subdo...
mfem::Array< int > _subdomain_ldof_marker
Local dof marker matching _subdomain_tdofs.
const mfem::Array< int > & getSubdomainTDofs(mfem::ParFiniteElementSpace &pfes)
True dofs of pfes the constraint fixes: those of the constrained subdomains, less the subdomain bound...
long _subdomain_tdofs_sequence
FE space sequence number _subdomain_tdofs was built for; -1 marks "never built".
virtual const std::string & getTrialVariableName() const
Name of the trial variable (gridfunction) the constraint acts on.
mfem::Array< int > _subdomain_tdofs
Constrained true dofs of the most recent updateSubdomainTDofs() call.
static InputParameters validParams()
virtual ~MFEMConstraint()=default
const VariableName & _trial_var_name
Name of the trial variable the constraint is applied to.
void checkDisjointSubdomains(MFEMConstraint &other)
Reports an error if this constraint shares a subdomain with other, a constraint on the same variable.
const mfem::Array< int > & getSubdomainLDofMarker(mfem::ParFiniteElementSpace &pfes)
Local dof marker of the dofs of pfes the constraint fixes, matching getSubdomainTDofs() and cached al...
void updateSubdomainTDofs(mfem::ParFiniteElementSpace &pfes)
Rebuilds the cached constrained dofs if pfes was updated since they were built.
const bool _constrain_subdomain_boundary
Whether the dofs on the boundary of the constrained subdomains are constrained.
Thin base for MFEM objects backed directly by MooseObject instead of UserObject.
const InputParameters & parameters() const
Get the parameters of the object.