Hi, I've been wondering about the intended behavior of the LeftRootFind/RightRootFind options for callback root finding. There is two possibilities:
- "right" is toward increasing
t
- "right" is toward integration direction
With backward integration both definitions are opposite, and the current root finding algorithm implements the first definition. Is this the intended behavior ?
Then, it would be convenient to have additional options that implements the second behavior. A typical use case would be taking the root toward integration direction to avoid an infinite loop with simultaneous event occurrences (like suggested in #889 (comment)). The new options could be named for example PrevRootFind/NextRootFind.