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