10#ifdef MOOSE_MFEM_ENABLED
18 params.addRequiredParam<VariableName>(
"variable",
19 "The variable to apply the initial condition on.");
20 params.registerBase(
"InitialCondition");
21 params.addClassDescription(
22 "Base class for objects that set the initial condition on an MFEM variable.");
36std::optional<std::string>
39 return getParam<VariableName>(
"variable");
const ExecFlagType EXEC_INITIAL
A MultiMooseEnum object to hold "execute_on" flags.
Base class for MFEM objects that participate in execution ordering but are not UserObjects.
static InputParameters validParams()
Declare the common parameters used by MFEM executed objects.
static InputParameters validParams()
MFEMInitialCondition(const InputParameters ¶ms)
virtual std::optional< std::string > suppliedVariableName() const override
Return the variable name supplied by this object, or std::nullopt if none.