10 #ifdef MOOSE_MFEM_ENABLED 41 std::shared_ptr<mfem::ErrorEstimator>
getEstimator()
const;
57 inline std::shared_ptr<mfem::ErrorEstimator>
61 "Attempting to retrieve error estimator before it's been constructed");
Thin base for MFEM objects backed directly by MooseObject instead of UserObject.
std::shared_ptr< mfem::ErrorEstimator > getEstimator() const
Method to fetch the error estimator after creation.
const VariableName & _var_name
Name of the variable associated with the weak form that the kernel is applied to. ...
static InputParameters validParams()
mfem::ParMesh & getParMesh() const
Get reference to the FE space's underlying mesh.
MFEMIndicator(const InputParameters ¶ms)
mfem::ParFiniteElementSpace & getFESpace() const
Get reference to FE space using the name we store when setting up this class.
mfem::ParFiniteElementSpace & _fespace
virtual ~MFEMIndicator()=default
const std::string & _kernel_name
Name of the kernel providing the error estimate.
std::shared_ptr< mfem::ErrorEstimator > _error_estimator
Shared pointer to the MFEM estimator wrapped by this class.
virtual void createEstimator()=0
Create the estimator internally.