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