check_condition¶
- StopCondition.check_condition() bool
It applies the comparison
operatorto thesensorvalue and thethresholdvalue to check if the stop condition is valid.If the stop condition is valid, then the
Solverstops the computation even if it is not completed to the final simulation time.Returns¶
boolWhether stop condition is valid.