10#ifdef MOOSE_MFEM_ENABLED
20 params.
addClassDescription(
"Projects a vector coefficient $\\vec u$, optionally scaled by a "
21 "scalar coefficient $k$, onto a vector MFEM auxvariable, storing "
24 "Name of the vector coefficient to project.");
25 params.
addParam<MFEMScalarCoefficientName>(
26 "coefficient",
"1.",
"Name of the scalar coefficient k to scale the vector coefficient by.");
32 _vec_coef(getScalarCoefficient(
"coefficient"), getVectorCoefficient(
"vector_coefficient"))
registerMooseObject("MooseApp", MFEMVectorProjectionAux)
Class to construct an auxiliary solver used to update a real auxvariable.
static InputParameters validParams()
mfem::ParGridFunction & _result_var
Reference to result gridfunction.
Projects a vector coefficient, optionally scaled by a scalar coefficient, onto a vector-valued auxvar...
static InputParameters validParams()
MFEMVectorProjectionAux(const InputParameters ¶meters)
virtual void execute() override
Perform the main work for this object.
mfem::ScalarVectorProductCoefficient _vec_coef
Product of the scalar and vector source coefficients.