CoefReactionTempl< true > ADCoefReaction
CoefReactionTempl< false > CoefReaction
Moose::GenericType< Real, is_ad > GenericReal
const Real _coef
input parameter multiplied by the reaction kernel
static InputParameters validParams()
virtual GenericReal< is_ad > computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.
unsigned int _qp
The current quadrature point index.
unsigned int _j
current index for the shape function
unsigned int _i
current index for the test function
const VariablePhiValue & _phi
the current shape functions
const VariableTestValue & _test
the current test function
const InputParameters & parameters() const
Get the parameters of the object.
Implements a simple consuming reaction term with weak form $(\psi_i, \lambda u_h)$.
const Real & _rate
Scalar coefficient representing the relative amount consumed per unit time.