20 params.
addRequiredParam<FunctionName>(
"function",
"The function that this object operates on");
registerMooseObject("MooseApp", FunctionElementIntegralUserObject)
This postprocessor computes a volume integral of the specified variable.
static InputParameters validParams()
const MooseArray< Point > & _q_point
This user object computes a volume integral of a specified function.
virtual Real computeQpIntegral() override
FunctionElementIntegralUserObject(const InputParameters ¶meters)
const Function & _function
Function to integrate.
static InputParameters validParams()
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...