IrreversibleScalar

Source: models/common/IrreversibleScalar.py

Monotonically-increasing ratchet on a Scalar: \(y = \max(y_{n-1}, x)\) where \(x\) is the trial value (from) and \(y_{n-1}\) is the previous-step value of the output (auto-declared via history_name).

Inputs

frominput · Scalar · required

Trial value at the current step

Outputs

tooutput · Scalar · required

Updated (irreversibly-capped) value