The KernelGrad class is responsible for calculating the residuals in form:
virtual void computeResidual() override
Compute this Kernel's contribution to the residual.
virtual RealGradient precomputeQpResidual()=0
Called before forming the residual for an element.
virtual Real computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
virtual void computeJacobian() override
Compute this Kernel's contribution to the diagonal Jacobian entries.
virtual RealGradient precomputeQpJacobian()
Called before forming the jacobian for an element.
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
KernelGrad(const InputParameters ¶meters)
Factory constructor initializes all internal references needed for residual computation.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Computes d-residual / d-jvar... storing the result in Ke.