10 #ifdef MOOSE_MFEM_ENABLED 73 const std::string & param_name,
74 const std::string & doc_string);
81 const std::string & param_name,
82 const std::string & doc_string);
110 template <
typename T>
113 const std::string & param_name,
114 const std::string & doc_string)
116 params.
addParam<T>(param_name, doc_string);
120 template <
typename T>
123 const std::string & param_name,
124 const std::string & doc_string)
virtual std::optional< std::string > suppliedPostprocessorName() const
Return the postprocessor name supplied by this object, or std::nullopt if none.
Thin base for MFEM objects backed directly by MooseObject instead of UserObject.
static void addRequiredDependencyParam(InputParameters ¶ms, const std::string ¶m_name, const std::string &doc_string)
Add a required dependency-bearing parameter and register it with the MFEM scheduler.
Base class for MFEM objects that participate in execution ordering but are not UserObjects.
static std::string vectorPostprocessorDependencyKey(const std::string &name)
Build the dependency key used for a supplied/requested vector postprocessor.
const InputParameters & parameters() const
Get the parameters of the object.
static void appendDependencyParam(InputParameters ¶ms, const std::string ¶m_name)
Record one dependency-bearing parameter in the private parameter metadata.
static std::string variableDependencyKey(const std::string &name)
Build the dependency key used for a supplied/requested variable.
virtual void execute()
Perform the main work for this object.
std::optional< std::set< std::string > > _requested_items
Lazily constructed requested dependency keys for this object's registered dependencies.
static std::string postprocessorDependencyKey(const std::string &name)
Build the dependency key used for a supplied/requested postprocessor.
static InputParameters validParams()
Declare the common parameters used by MFEM executed objects.
std::optional< std::set< std::string > > _supplied_items
Lazily constructed supplied dependency keys for this object's supplied resources. ...
virtual void initialize()
Perform any pre-execution setup for this object.
virtual std::optional< std::string > suppliedVectorPostprocessorName() const
Return the vector postprocessor name supplied by this object, or std::nullopt if none.
const std::string & name() const
Get the name of the class.
virtual std::optional< std::string > suppliedVariableName() const
Return the variable name supplied by this object, or std::nullopt if none.
MFEMExecutedObject(const InputParameters ¶meters)
Construct an executed MFEM object and materialize its dependency metadata.
virtual void finalize()
Perform any post-execution finalization for this object.
static void addDependencyParam(InputParameters ¶ms, const std::string ¶m_name, const std::string &doc_string)
Add an optional dependency-bearing parameter and register it with the MFEM scheduler.
Interface for sorting dependent vectors of objects.
virtual const std::set< std::string > & getSuppliedItems() override
Return a set containing the names of items owned by the object.
virtual const std::set< std::string > & getRequestedItems() override
Return a set containing the names of items requested by the object.