14 VariableOldValueBoundsAux,
22 params.
addClassDescription(
"Uses the old variable values as the bounds for the new solve.");
37 mooseError(
"This variable type is not supported yet");
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
registerMooseObjectRenamed("MooseApp", VariableOldValueBoundsAux, "06/30/2024 24:00", VariableOldValueBounds)
registerMooseObject("MooseApp", VariableOldValueBounds)
bool isNodal() const
Nodal or elemental kernel?
const Node *const & _current_node
Current node (valid only for nodal kernels)
This is a base class used to set an upper and/or lower bound of a variable for the PETSc's variationa...
static InputParameters validParams()
MooseVariableFE< Real > * _fe_var
Pointer to the finite element variable we set the bound for. Will be null for finite volume.
DofValue getNodalValueOld(const Node &node) const
Get the old value of this variable at given node.
Provides a bound of a variable using its old value.
VariableOldValueBounds(const InputParameters ¶meters)
static InputParameters validParams()
virtual Real getBound() override
Method to get bound value for a variable.