const ElemInfo * _current_elem_info
Pointer to the current element info.
Base class for finite volume kernels that contribute to a linear systems.
static InputParameters validParams()
Finite volume kernel that contributes approximations of volumetric integral terms to the matrix and r...
virtual void addMatrixContribution() override
Add this object's contribution to the system matrix.
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.
LinearFVElementalKernel(const InputParameters ¶ms)
Class constructor.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void setCurrentElemVolume(const Real volume)
Set the coordinate system specific volume, the multiplication with the transformation factor is done ...
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...
Real _current_elem_volume
The coordinate-specific element volume.
virtual Real computeRightHandSideContribution()=0
Computes the right hand side contribution for the given variable on the current element.