21 params.
addParam<Real>(
"coeff", 1.,
"A coefficient for multiplying the reaction term");
26 :
NodalKernel(parameters), _coeff(getParam<Real>(
"coeff"))
registerMooseObject("MooseApp", ReactionNodalKernel)
unsigned int _qp
Quadrature point index.
Base class for creating nodal kernels with hand-coded Jacobians.
static InputParameters validParams()
Class constructor.
const VariableValue & _u
Value of the unknown variable this is acting on.
Represents a nodal reaction term equivalent to $a * u$.
ReactionNodalKernel(const InputParameters ¶meters)
virtual Real computeQpJacobian() override
The user can override this function to compute the "on-diagonal" Jacobian contribution.
virtual Real computeQpResidual() override
The user can override this function to compute the residual at a node.
const Real _coeff
An optional input-file supplied rate coefficient.
static InputParameters validParams()