29 Moose::VarKindType::VAR_ANY,
30 Moose::VarFieldType::VAR_FIELD_STANDARD),
31 _u(coupledValue(
"variable")),
32 _grad_u(coupledGradient(
"variable"))
registerMooseObject("MooseApp", ElementIntegralVariableUserObject)
This postprocessor computes a volume integral of the specified variable.
static InputParameters validParams()
This postprocessor computes a volume integral of the specified variable.
virtual Real computeQpIntegral() override
ElementIntegralVariableUserObject(const InputParameters ¶meters)
const VariableValue & _u
Holds the solution at current quadrature points.
static InputParameters validParams()
void addMooseVariableDependency(MooseVariableFieldBase *var)
Call this function to add the passed in MooseVariableFieldBase as a variable that this object depends...
Interface for objects that need to get values of MooseVariables.
MooseVariableField< Real > & mooseVariableField()
Return the MooseVariableField object that this interface acts on.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...