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.");
const ElemInfo * _current_elem_info
Pointer to the current element info.
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
const Elem * elem() const
static InputParameters validParams()
LinearFVReaction(const InputParameters ¶ms)
Class constructor.
Finite volume kernel that contributes approximations of volumetric integral terms to the matrix and r...
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...
virtual Real computeMatrixContribution() override
Computes the system matrix contribution for the given variable on the current element.
static InputParameters validParams()
registerMooseObject("MooseApp", LinearFVReaction)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Moose::Functor< Real > & _coefficient
The functor for the reaction coefficient.
Kernel that adds contributions from a reaction term discretized using the finite volume method to a l...
Real _current_elem_volume
The coordinate-specific element volume.
virtual Real computeRightHandSideContribution() override
Computes the right hand side contribution for the given variable on the current element.