-
-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Labels
Description
I am trying to introduce directionality in an event trigger (i.e. only fire as either up or downpass). IIUC this correctly it should be possible in principle with affect_neg!=nothing
in the ContinuousVectorCallback .
But in MTK, I am using a Pair{Vector{Equation}, Vector{Equation}}[]
that is passed to continuous_events
in the ODESystem constructor. Is there a good way to introduce directionality in a trigger using the ODESystem constructor/continuous_events keyword? My current code is here. Perhaps rather than using ~
in the trigger equation <
or >
could be used?