10 #ifdef MOOSE_MFEM_ENABLED 21 "Projects a a real and imaginary vector coefficient onto a complex vector MFEM auxvariable.");
23 "vector_coefficient_real",
"Name of the real part of the vector coefficient to project.");
25 "vector_coefficient_imag",
26 "Name of the imaginary part of the vector coefficient to project.");
32 _vec_coef_real(getVectorCoefficient(
"vector_coefficient_real")),
33 _vec_coef_imag(getVectorCoefficient(
"vector_coefficient_imag"))
MFEMComplexVectorProjectionAux(const InputParameters ¶meters)
static InputParameters validParams()
Projects a vector coefficient onto a vector-valued auxvariable.
static InputParameters validParams()
virtual void execute() override
Perform the main work for this object.
mfem::VectorCoefficient & _vec_coef_imag
Reference to source coefficient for the imaginary part.
mfem::ParComplexGridFunction & _result_var
Reference to result complex gridfunction.
registerMooseObject("MooseApp", MFEMComplexVectorProjectionAux)
mfem::VectorCoefficient & _vec_coef_real
Reference to source coefficient for the real part.
Class to construct an auxiliary solver used to update a complex auxvariable.