DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
virtual OutputTools< typenameMoose::ADType< T >::type >::OutputValue precomputeQpStrongResidual()=0
Called before forming the residual for an element.
void computeResidualsForJacobian() override
compute the _residuals member for filling the Jacobian.
virtual ADRealVectorValue computeQpStabilization()=0
virtual void computeResidual() override
Compute this object's contribution to the residual.
virtual ADReal computeQpResidual() override final
Compute this Kernel's contribution to the residual at the current quadrature point.
const ADTemplateVariableTestGradient< T > & _grad_test
gradient of the test function
std::vector< ADReal > _residuals
MooseVariableFE< T > & _var
This is a regular kernel so we cast to a regular MooseVariable.
const OutputTools< T >::VariableTestGradient & _regular_grad_test
const MooseArray< ADReal > & _ad_JxW
The ad version of JxW.
const MooseArray< ADReal > & _ad_coord
The ad version of coord.
std::vector< MooseVariableFEBase * > _save_in
bool _has_diag_save_in
The aux variables to save the diagonal Jacobian contributions to.
const bool _use_displaced_mesh
Whether this object is acting on the displaced mesh.
const MooseArray< Real > & _coord
The scaling factor to convert from cartesian to another coordinate system (e.g rz,...
unsigned int _qp
The current quadrature point index.
bool _has_save_in
The aux variables to save the residual contributions to.
const MooseArray< Real > & _JxW
The current quadrature point weight value.
unsigned int _j
current index for the shape function
std::vector< MooseVariableFEBase * > _diag_save_in
unsigned int _i
current index for the test function
const QBase *const & _qrule
active quadrature rule
const InputParameters & parameters() const
Get the parameters of the object.
Assembly & _assembly
Reference to this Kernel's assembly object.
SystemBase & _sys
Reference to the EquationSystem object.
virtual void precalculateResidual()
DenseMatrix< Number > _local_ke
Holds local Jacobian entries as they are accumulated by this Kernel.
void accumulateTaggedLocalMatrix()
Local Jacobian blocks will be appended by adding the current local kernel Jacobian.
void prepareMatrixTag(Assembly &assembly, unsigned int ivar, unsigned int jvar)
Prepare data for computing element jacobian according to the active tags.
void accumulateTaggedLocalResidual()
Local residual blocks will be appended by adding the current local kernel residual.
void prepareVectorTag(Assembly &assembly, unsigned int ivar)
Prepare data for computing element residual according to active tags.
DenseVector< Number > _local_re
Holds local residual entries as they are accumulated by this Kernel.