10#ifdef MOOSE_MFEM_ENABLED
Real PostprocessorValue
various MOOSE typedefs
Base class for construction of an object that is restricted to a subset of subdomains of the problem ...
Computes the volumetric average of a scalar MFEM variable over the mesh or a subset of subdomains.
mfem::ParGridFunction & _var
Reference to the MFEM grid function whose average is being computed.
mfem::ParLinearForm _lf
Linear form used to accumulate the integral of the variable over elements.
PostprocessorValue getValue() const override final
This will get called to actually grab the final value the postprocessor has calculated.
static InputParameters validParams()
mfem::real_t _value
Cached computed average value returned by getValue()
void initialize() override
Perform any pre-execution setup for this object.
mfem::ConstantCoefficient _one
Constant coefficient of value 1 used in integration for volume calculation.
void execute() override
Perform the main work for this object.
Postprocessor for MFEM results.
const InputParameters & parameters() const
Get the parameters of the object.