25 "Calculates the curl of an H(curl) conforming ND source variable and stores the result" 26 " on an H(div) conforming RT result auxvariable");
28 "Vector H(curl) MFEMVariable to take the curl of.");
29 params.
addParam<mfem::real_t>(
"scale_factor", 1.0,
"Factor to scale result auxvariable by.");
35 _source_var_name(getParam<VariableName>(
"source")),
36 _source_var(*getMFEMProblem().getProblemData().gridfunctions.Get(_source_var_name)),
37 _scale_factor(getParam<mfem::real_t>(
"scale_factor")),
38 _curl(_source_var.ParFESpace(), _result_var.ParFESpace())
const mfem::real_t _scale_factor
MFEMCurlAux(const InputParameters ¶meters)
virtual void execute() override
Execute method.
registerMooseObject("MooseApp", MFEMCurlAux)
const mfem::ParGridFunction & _source_var
mfem::ParGridFunction & _result_var
Reference to result gridfunction.
static InputParameters validParams()
static InputParameters validParams()
mfem::common::ParDiscreteCurlOperator _curl