check_condition

StopCondition.check_condition() bool

It applies the comparison operator to the sensor value and the threshold value to check if the stop condition is valid.

If the stop condition is valid, then the Solver stops the computation even if it is not completed to the final simulation time.

Returns

bool

Whether stop condition is valid.