10 #ifdef MOOSE_MFEM_ENABLED 23 params.addClassDescription(
"Sets the initial values of an MFEM scalar variable from a " 24 "user-specified scalar coefficient.");
25 params.addRequiredParam<MFEMScalarCoefficientName>(
"coefficient",
"The scalar coefficient");
34 .gridfunctions.GetRef(getParam<VariableName>(
"variable"))
Class used to set the initial value(s) on a scalar valued MFEMVariable.
std::shared_ptr< mfem::ParGridFunction > getGridFunction(const std::string &name)
static InputParameters validParams()
mfem::Coefficient & getScalarCoefficient(const std::string &name)
Base class used to set the initial value(s) on an MFEMVariable.
MFEMScalarBoundaryIC(const InputParameters ¶ms)
static InputParameters validParams()
mfem::Array< int > & getBoundaryMarkers()
registerMooseObject("MooseApp", MFEMScalarBoundaryIC)
Base class for construction of an object that is restricted to a subset of boundaries of the problem ...
virtual void execute() override
Execute method.
MFEMProblem & getMFEMProblem()
Returns a reference to the MFEMProblem instance.
static InputParameters validParams()