Class used to enforce a upper bound on a coupled variable.
virtual Real computeQpResidual() override
The user can override this function to compute the residual at a node.
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
This is the virtual that derived classes should override for computing an off-diagonal jacobian compo...
virtual Real computeQpJacobian() override
The user can override this function to compute the "on-diagonal" Jacobian contribution.
std::set< BoundaryID > _bnd_ids
Boundaries on which we should not execute this object.
const unsigned int _v_var
The number of the coupled variable.
UpperBoundNodalKernel(const InputParameters ¶meters)
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Get the parameters of the object.
const VariableValue & _v
The value of the coupled variable.
const Real _upper_bound
The upper bound on the coupled variable.
Base class for creating nodal kernels with hand-coded Jacobians.