10 #ifdef MOOSE_MFEM_ENABLED 21 "Projects a real and imaginary scalar coefficient onto a complex scalar MFEM auxvariable");
23 "coefficient_real",
"Name of the real part of the scalar coefficient to project.");
25 "coefficient_imag",
"Name of the imaginary part of the scalar coefficient to project.");
31 _coef_real(getScalarCoefficient(
"coefficient_real")),
32 _coef_imag(getScalarCoefficient(
"coefficient_imag"))
static InputParameters validParams()
MFEMComplexScalarProjectionAux(const InputParameters ¶meters)
registerMooseObject("MooseApp", MFEMComplexScalarProjectionAux)
mfem::Coefficient & _coef_real
Reference to source coefficient for the real part.
mfem::Coefficient & _coef_imag
Reference to source coefficient for the imaginary part.
static InputParameters validParams()
mfem::ParComplexGridFunction & _result_var
Reference to result complex gridfunction.
Projects a scalar coefficient onto a scalar-valued auxvariable.
Class to construct an auxiliary solver used to update a complex auxvariable.
virtual void execute() override
Perform the main work for this object.