21 "Implements a simple consuming reaction term with weak form $(\\psi_i, \\lambda u_h)$.");
23 "rate", 1.0,
"The $(\\lambda)$ multiplier, the relative amount consumed per unit time.");
30 :
GenericKernel<is_ad>(parameters), _rate(this->template getParam<Real>(
"rate"))
38 return _test[_i][_qp] * _rate * _u[_qp];
46 "In ADReaction, computeQpJacobian should not be called. Check computeJacobian "
48 return _test[_i][_qp] * _rate * _phi[_j][_qp];
Moose::GenericType< Real, is_ad > GenericReal
registerMooseObject("MooseApp", Reaction)
static InputParameters validParams()
Implements a simple consuming reaction term with weak form $(\psi_i, \lambda u_h)$.
virtual GenericReal< is_ad > computeQpResidual() override
Compute this Kernel's contribution to the residual at the current quadrature point.
static InputParameters validParams()
ReactionTempl(const InputParameters ¶meters)
virtual Real computeQpJacobian() override
Compute this Kernel's contribution to the Jacobian at the current quadrature point.