ValueRangeInterface

Interface to check if a value is within specified bounds and handle the cases appropriately.

Description

ValueRangeInterface provides an ability to check if variables passed into internal methods are out of a specified range via the validateValueIsInRange method. If the value is out of the specified range, a series of options are available, such as throw an error, warn, or do nothing, via the value_range_behavior input parameter.

[Materials<<<{"href": "../../syntax/Materials/index.html"}>>>]
  [mat]
    type = ADValueRangeInterfaceTester
    u = u
    value_range_behavior = ERROR
    outputs = all
  []
[]
(test/tests/value_range_interface/range_check.i)