10 #ifdef MOOSE_MFEM_ENABLED 13 #include "libmesh/ignore_warnings.h" 14 #include "mfem/miniapps/common/pfem_extras.hpp" 15 #include "libmesh/restore_warnings.h" 31 virtual void execute()
override;
41 mfem::common::ParDiscreteGradOperator
_grad;
mfem::common::ParDiscreteGradOperator _grad
Grad operator.
const mfem::real_t _scale_factor
Scalar factor to multiply the result by.
virtual ~MFEMGradAux()=default
static InputParameters validParams()
Class to construct an auxiliary solver used to update an auxvariable.
Class to set an H(curl) auxvariable to be the gradient of a H1 scalar variable.
const VariableName _source_var_name
Name of source MFEMVariable to take the gradient of.
const InputParameters & parameters() const
Get the parameters of the object.
virtual void execute() override
Computes the auxvariable.
const mfem::ParGridFunction & _source_var
Reference to source gridfunction.
MFEMGradAux(const InputParameters ¶meters)