20 params.
addRequiredParam<FunctionName>(
"function",
"The function that this object operates on");
const MooseArray< Point > & _q_point
This postprocessor computes a volume integral of the specified variable.
registerMooseObject("MooseApp", FunctionElementIntegralUserObject)
static InputParameters validParams()
This user object computes a volume integral of a specified function.
const Function & _function
Function to integrate.
virtual Real computeQpIntegral() override
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
FunctionElementIntegralUserObject(const InputParameters ¶meters)
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...