void computeOffDiagJacobianScalar(unsigned int jvar) override
Computes jacobian block with respect to a scalar variable.
void computeResidual() override
Compute this object's contribution to the residual.
const ADTemplateVariableTestGradient< T > & _grad_test
gradient of the test function
typename OutputTools< typename Moose::ADType< T >::type >::VariablePhiGradient ADTemplateVariablePhiGradient
std::vector< Real > _residuals_nonad
virtual const std::vector< dof_id_type > & dofIndices() const
Just as we allow someone deriving from this to modify the _residuals data member in their computeResi...
typename OutputTools< T >::VariableTestValue ADTemplateVariableTestValue
virtual Real computeQpJacobian()
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
const ADTemplateVariablePhiValue< T > & _phi
The current shape functions.
typename OutputTools< T >::VariablePhiValue ADTemplateVariablePhiValue
typename OutputTools< typename Moose::ADType< T >::type >::VariableValue ADTemplateVariableValue
const ADTemplateVariableValue< T > & _u
Holds the solution at current quadrature points.
void computeJacobian() override
Compute this object's contribution to the diagonal Jacobian entries.
ADKernelTempl(const InputParameters ¶meters)
const ADTemplateVariableTestValue< T > & _test
the current test function
DualNumber< Real, DNDerivativeType, true > ADReal
void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job...
const MooseVariableFE< T > & variable() const override
Returns the variable that this object operates on.
An interface for accessing Moose::Functors for systems that care about automatic differentiation, e.g.
void computeADJacobian()
compute all the Jacobian entries
void computeResidualAndJacobian() override
Compute this object's contribution to the residual and Jacobian simultaneously.
std::vector< ADReal > _residuals
const std::vector< dof_id_type > & dofIndices() const final
Get local DoF indices.
This is the common base class for the three main kernel types implemented in MOOSE, Kernel, VectorKernel and ArrayKernel.
virtual ADReal computeQpResidual()=0
Compute this Kernel's contribution to the residual at the current quadrature point.
const ADTemplateVariablePhiGradient< T > & _grad_phi
The current gradient of the shape functions.
typename OutputTools< typename Moose::ADType< T >::type >::VariableTestGradient ADTemplateVariableTestGradient
const OutputTools< T >::VariableTestGradient & _regular_grad_test
typename OutputTools< typename Moose::ADType< T >::type >::VariableGradient ADTemplateVariableGradient
const MooseArray< ADPoint > & _ad_q_point
The ad version of q_point.
const MooseArray< ADReal > & _ad_JxW
The ad version of JxW.
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned int)
This is the virtual that derived classes should override for computing an off-diagonal Jacobian compo...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ADTemplateVariableGradient< T > & _grad_u
Holds the solution gradient at the current quadrature points.
virtual void computeResidualsForJacobian()
compute the _residuals member for filling the Jacobian.
Interface for objects that need to get values of MooseVariables.
const OutputTools< T >::VariablePhiGradient & _regular_grad_phi
The current gradient of the shape functions without possible displacement derivatives.
MooseVariableFE< T > & _var
This is a regular kernel so we cast to a regular MooseVariable.
const InputParameters & parameters() const
Get the parameters of the object.
const MooseArray< ADReal > & _ad_coord
The ad version of coord.
void computeOffDiagJacobian(unsigned int) override
Computes this object's contribution to off-diagonal blocks of the system Jacobian matrix...