Go to the documentation of this file.
21 std::numeric_limits<Real>::max(),
22 "The maximum permissible iterative value for the variable.");
24 std::numeric_limits<Real>::lowest(),
25 "The minimum permissible iterative value for the variable.");
31 _max_value(parameters.get<Real>(
"max_value")),
32 _min_value(parameters.get<Real>(
"min_value"))
35 mooseError(
"max_value must be greater than min_value");
const VariableValue & _u
Holds the current solution at the current node.
defineLegacyParams(BoundingValueNodalDamper)
void mooseError(Args &&... args) const
This class implements a damper that limits the value of a variable to be within user-specified bounds...
virtual Real computeQpDamping() override
Compute the damping for the current node.
Base class for deriving nodal dampers.
unsigned int _qp
Quadrature point index.
static InputParameters validParams()
static InputParameters validParams()
const Real & _max_value
The maximum permissible value of the variable.
registerMooseObject("MooseApp", BoundingValueNodalDamper)
const Real & _min_value
The minimum permissible value of the variable.
const VariableValue & _u_increment
The current Newton increment.
BoundingValueNodalDamper(const InputParameters ¶meters)