21 "Represents the matrix and right hand side contributions of a reaction "
22 "term ($c u$) in a partial differential equation.");
23 params.
addParam<MooseFunctorName>(
"coeff", 1.0,
"The reaction coefficient.");
registerMooseObject("MooseApp", LinearFVReaction)
const Elem * elem() const
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
Helper method to create an elemental argument for a functor that includes whether to perform skewness...
Finite volume kernel that contributes approximations of volumetric integral terms to the matrix and r...
const ElemInfo * _current_elem_info
Pointer to the current element info.
static InputParameters validParams()
Real _current_elem_volume
The coordinate-specific element volume.
Kernel that adds contributions from a reaction term discretized using the finite volume method to a l...
virtual Real computeRightHandSideContribution() override
Computes the right hand side contribution for the given variable on the current element.
static InputParameters validParams()
const Moose::Functor< Real > & _coefficient
The functor for the reaction coefficient.
LinearFVReaction(const InputParameters ¶ms)
Class constructor.
virtual Real computeMatrixContribution() override
Computes the system matrix contribution for the given variable on the current element.
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.