Discrete.check_var#

Discrete.check_var(*args, **kwargs)[source]#

This function is called in l_update_var before evaluating equations.

It should update internal flags only.

Parameters:
adjust_upperbool

True to adjust the upper limit to the value of the variable. Supported by limiters.

adjust_lowerbool

True to adjust the lower limit to the value of the variable. Supported by limiters.