45 (*vector).add(
_dof_id, rhs_contrib);
const ElemInfo * _current_elem_info
Pointer to the current element info.
const unsigned int _var_num
Cache for the variable number.
Base class for finite volume kernels that contribute to a linear systems.
static InputParameters validParams()
static InputParameters validParams()
std::vector< NumericVector< Number > * > _vectors
Pointers to the vectors that need contributions from this kernel.
virtual void addMatrixContribution() override
Add this object's contribution to the system matrix.
std::vector< SparseMatrix< Number > * > _matrices
Pointers to the matrices that need contributions from this kernel.
dof_id_type _dof_id
The dof index for the current variable associated with the element.
virtual void setCurrentElemInfo(const ElemInfo *elem_info)
Set the current ElemInfo object.
virtual Real computeMatrixContribution()=0
Computes the system matrix contribution for the given variable on the current element.
const std::vector< std::vector< dof_id_type > > & dofIndices() const
LinearFVElementalKernel(const InputParameters ¶ms)
Class constructor.
virtual void addRightHandSideContribution() override
Add this object's contribution to the system right hand side.
Class used for caching additional information for elements such as the volume and centroid...
const unsigned int _sys_num
Cache for the system number.
virtual Real computeRightHandSideContribution()=0
Computes the right hand side contribution for the given variable on the current element.