OutputTools< RealEigenVector >::VariablePhiGradient ArrayVariablePhiGradient
OutputTools< RealEigenVector >::VariablePhiValue ArrayVariablePhiValue
OutputTools< RealEigenVector >::VariableTestGradient ArrayVariableTestGradient
std::vector< std::vector< Eigen::Map< RealDIMValue > > > MappedArrayVariablePhiGradient
OutputTools< RealEigenVector >::VariableTestValue ArrayVariableTestValue
Base class for array variable (equation) kernels using automatic differentiation.
virtual void computeResidual() override
Compute this object's contribution to the residual.
const unsigned int _count
Number of components of the array variable.
virtual const ArrayMooseVariable & variable() const override
Returns the variable that this object operates on.
virtual void initQpResidual()
Put necessary evaluations depending on qp but independent on test functions here.
std::vector< ADReal > _local_ad_re
ArrayMooseVariable & _var
This is an array kernel so we cast to a ArrayMooseVariable.
virtual void computeJacobian() override
Compute this object's contribution to the diagonal Jacobian entries.
const ArrayVariablePhiGradient & _grad_phi
gradient of the shape function
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Computes this object's contribution to off-diagonal blocks of the system Jacobian matrix.
virtual void computeQpResidual(ADRealEigenVector &residual)=0
Compute this Kernel's contribution to the residual at the current quadrature point,...
const ArrayVariableTestGradient & _grad_test
gradient of the test function
const ArrayVariablePhiValue & _phi
the current shape functions
const ADArrayVariableValue & _u
Holds the solution at current quadrature points.
const ADArrayVariableGradient & _grad_u
Holds the solution gradient at current quadrature points.
const ArrayVariableTestValue & _test
the current test function
static InputParameters validParams()
ADRealEigenVector _work_vector
Work vector for residual and diag jacobian.
const MappedArrayVariablePhiGradient & _array_grad_test
const Elem * _my_elem
Cache variable to prevent multiple invocations of Jacobian computation for one element (recall that A...
An interface for accessing Moose::Functors for systems that care about automatic differentiation,...
This is the common base class for the three main kernel types implemented in MOOSE,...
const InputParameters & parameters() const
Get the parameters of the object.
Interface for objects that need to get values of MooseVariables.