10#ifdef MOOSE_MFEM_ENABLED
22 params.addClassDescription(
"Sets the initial values of a complex MFEM scalar variable from a "
23 "pair of user-specified scalar coefficients.");
24 params.addRequiredParam<MFEMScalarCoefficientName>(
"coefficient_real",
25 "The real part of the scalar coefficient");
26 params.addRequiredParam<MFEMScalarCoefficientName>(
27 "coefficient_imag",
"The imaginary part of the scalar coefficient");
34 params, getMFEMProblem().getMFEMVariableMesh(getParam<VariableName>(
"variable")))
registerMooseObject("MooseApp", MFEMComplexScalarBoundaryIC)
Base class for construction of an object that is restricted to a subset of boundaries of the problem ...
mfem::Array< int > & getBoundaryMarkers()
static InputParameters validParams()
Class used to set the initial value(s) on a complex scalar valued MFEMVariable.
static InputParameters validParams()
MFEMComplexScalarBoundaryIC(const InputParameters ¶ms)
virtual void execute() override
Perform the main work for this object.
Base class used to set the initial value(s) on an MFEMVariable.
static InputParameters validParams()
MFEMProblem & getMFEMProblem()
Return the owning MFEM problem.
mfem::Coefficient & getScalarCoefficient(const std::string &name)
Retrieve a scalar MFEM coefficient using the value of an input parameter.
std::shared_ptr< mfem::ParComplexGridFunction > getComplexGridFunction(const std::string &name)