10 #ifdef MOOSE_MFEM_ENABLED 34 void complexAdd(mfem::ParComplexGridFunction & a,
35 const mfem::ParComplexGridFunction & b,
36 const std::complex<mfem::real_t> scale = {1.0, 0.0});
40 const std::complex<mfem::real_t> scale = {1.0, 0.0});
virtual ~MFEMComplexAuxKernel()=default
Base class for MFEM objects that participate in execution ordering but are not UserObjects.
MFEMComplexAuxKernel(const InputParameters ¶meters)
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()
virtual std::optional< std::string > suppliedVariableName() const override
Return the variable name supplied by this object, or std::nullopt if none.
void complexScale(mfem::ParComplexGridFunction &a, const std::complex< mfem::real_t > scale={1.0, 0.0})
Method to scale a complex variable by a complex constant.
virtual void update()
Method called to update any owned objects upon an FE space update.
mfem::ParComplexGridFunction & _result_var
Reference to result complex gridfunction.
void complexAdd(mfem::ParComplexGridFunction &a, const mfem::ParComplexGridFunction &b, const std::complex< mfem::real_t > scale={1.0, 0.0})
Method to add a scaled complex variable to another complex variable.
long _sequence
Counter to keep track of FE space updates.
const AuxVariableName _result_var_name
Name of complex auxvariable to store the result of the auxkernel in.
Class to construct an auxiliary solver used to update a complex auxvariable.