Class for stuff related to variables.
const InputParameters & parameters() const
Get the parameters of the object.
const ADVariableValue & _u
Value of the unknown variable this is acting on.
const MooseVariable & variable() const override
Gets the variable this is active on.
DualNumber< Real, DNDerivativeType, true > ADReal
An interface for accessing Moose::Functors for systems that care about automatic differentiation, e.g.
MooseVariable & _var
variable this works on
virtual ADReal computeQpResidual()=0
The user can override this function to compute the residual at a node.
void computeOffDiagJacobian(unsigned int jvar) override final
This method simply routes to computeJacobian whenever jvar == _var.number() since global AD computes ...
Base class for creating nodal kernels with AD-computed Jacobians.
static InputParameters validParams()
Class constructor.
Base class for creating new types of nodal kernels.
Interface for objects that need to get values of MooseVariables.
ADNodalKernel(const InputParameters ¶meters)
void computeJacobian() override
Compute the Jacobian at one node.
void computeResidual() override
Compute the residual at the current node.