24 virtual void reinit()
override;
DualNumber< Real, DNDerivativeType, true > ADReal
Base class for AD scalar kernels.
std::vector< ADReal > _residuals
Residuals for each order.
void computeADJacobian()
Computes the Jacobian using automatic differentiation.
virtual void computeResidual() override
Compute this object's contribution to the residual.
virtual void computeOffDiagJacobianScalar(unsigned int jvar) override
Computes jacobian block with respect to a scalar variable.
bool _jacobian_already_computed
Flag indicating that the Jacobian has already been computed.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Computes this object's contribution to off-diagonal blocks of the system Jacobian matrix.
virtual ADReal computeQpResidual()=0
virtual void reinit() override
Reinitialization method called before each call to computeResidual()
virtual void computeJacobian() override
Compute this object's contribution to the diagonal Jacobian entries.
const ADVariableValue & _u
The current solution.
static InputParameters validParams()
const InputParameters & parameters() const
Get the parameters of the object.
Base class shared by AD and non-AD scalar kernels.