19 "max_increment",
"max_increment > 0",
"The maximum newton increment for the variable.");
20 MooseEnum increment_type(
"absolute fractional",
"absolute");
24 "Type of increment to compare against max_increment. 'absolute': use variable increment. "
25 "'fractional': use variable increment divided by the variable value.");
34 _max_increment(parameters.get<Real>(
"max_increment")),
44 inc /= std::abs(
_u[
_qp]);
registerMooseObject("MooseApp", MaxIncrement)
Base class for deriving element dampers.
const VariableValue & _u
Holds the current solution at the current quadrature point.
unsigned int _qp
Quadrature point index.
static InputParameters validParams()
const VariableValue & _u_increment
The current Newton increment.
enum MaxIncrement::IncrementTypeEnum _increment_type
virtual Real computeQpDamping() override
This MUST be overridden by a child damper.
MaxIncrement(const InputParameters ¶meters)
Real _max_increment
The maximum Newton increment for the variable.
static InputParameters validParams()
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...