virtual const ArrayMooseVariable & variable() const override
Returns the variable that this object operates on.
unsigned int number() const
Get variable number coming from libMesh.
const MappedArrayVariablePhiGradient & _array_grad_test
virtual void initQpOffDiagJacobian(const MooseVariableFEBase &jvar)
Put necessary evaluations depending on qp but independent on test and shape functions here for off-di...
This class provides an interface for common operations on field variables of both FE and FV types wit...
ArrayKernel(const InputParameters ¶meters)
virtual void initQpResidual()
Put necessary evaluations depending on qp but independent on test functions here. ...
static InputParameters validParams()
virtual RealEigenVector computeQpJacobian()
Compute this Kernel's contribution to the diagonal Jacobian at the current quadrature point...
OutputTools< RealEigenVector >::VariableValue ArrayVariableValue
This is the common base class for the three main kernel types implemented in MOOSE, Kernel, VectorKernel and ArrayKernel.
virtual RealEigenMatrix computeQpOffDiagJacobianScalar(const MooseVariableScalar &jvar)
This is the virtual that derived classes should override for computing a full Jacobian component...
const ArrayVariablePhiGradient & _grad_phi
gradient of the shape function
virtual void computeJacobian() override
Compute this ArrayKernel's contribution to the diagonal Jacobian entries.
std::vector< std::vector< Eigen::Map< RealDIMValue > > > MappedArrayVariablePhiGradient
const ArrayVariableTestValue & _test
the current test function
const ArrayVariableTestGradient & _grad_test
gradient of the test function
virtual void computeQpResidual(RealEigenVector &residual)=0
Compute this Kernel's contribution to the residual at the current quadrature point, to be filled in residual.
const ArrayVariableGradient & _grad_u
Holds the solution gradient at current quadrature points.
Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic > RealEigenMatrix
const unsigned int _count
Number of components of the array variable.
RealEigenVector _work_vector
Work vector for residual and diag jacobian.
virtual void initQpJacobian()
Put necessary evaluations depending on qp but independent on test and shape functions here...
virtual RealEigenMatrix computeQpOffDiagJacobian(const MooseVariableFEBase &jvar)
This is the virtual that derived classes should override for computing a full Jacobian component...
virtual void computeResidual() override
Compute this ArrayKernel's contribution to the residual.
const ArrayVariablePhiValue & _phi
the current shape functions
Interface for objects that need to get values of MooseVariables.
virtual void computeOffDiagJacobianScalar(unsigned int jvar) override
Computes jacobian block with respect to a scalar variable.
Class for scalar variables (they are different).
const InputParameters & parameters() const
Get the parameters of the object.
const ArrayVariableValue & _u
Holds the solution at current quadrature points.
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
RealEigenMatrix _work_matrix
Work vector for off diag jacobian.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Computes full Jacobian of jvar and the array variable this kernel operates on.
ArrayMooseVariable & _var
This is an array kernel so we cast to a ArrayMooseVariable.
OutputTools< RealEigenVector >::VariableTestGradient ArrayVariableTestGradient