virtual bool isActive()
Use this to enable/disable the scalar kernel.
MooseVariableScalar & _var
Scalar variable.
virtual const MooseVariableScalar & variable() const override
The variable that this kernel operates on.
ScalarKernelBase(const InputParameters ¶meters)
virtual void reinit()=0
Reinitialization method called before each call to computeResidual()
const VariableValue & uOld() const
Retrieves the old value of the variable that this ScalarKernelBase operates on.
OutputTools< Real >::VariableValue VariableValue
This is the common base class for objects that give residual contributions.
Base class shared by AD and non-AD scalar kernels.
Class for scalar variables (they are different).
Interface for objects that needs scalar coupling capabilities.
const InputParameters & parameters() const
Get the parameters of the object.
static InputParameters validParams()