10 #ifdef MOOSE_MFEM_ENABLED 14 #include "libmesh/ignore_warnings.h" 15 #include "mfem/miniapps/common/pfem_extras.hpp" 16 #include "libmesh/restore_warnings.h" 32 virtual void execute()
override;
35 virtual void update()
override;
46 mfem::common::ParDiscreteGradOperator
_grad;
const InputParameters & parameters() const
Get the parameters of the object.
virtual void update() override
Method called to update any owned objects upon an FE space update.
virtual ~MFEMComplexGradAux()=default
virtual void execute() override
Computes the auxvariable.
Class to set an H(curl) auxvariable to be the gradient of a complex H1 scalar variable.
const VariableName _source_var_name
Name of source MFEMVariable to take the gradient of.
const std::complex< mfem::real_t > _scale_factor
Scalar factor to multiply the result by.
static InputParameters validParams()
mfem::ParComplexGridFunction & _source_var
Reference to source gridfunction.
mfem::common::ParDiscreteGradOperator _grad
Grad operator.
MFEMComplexGradAux(const InputParameters ¶meters)
Class to construct an auxiliary solver used to update a complex auxvariable.