File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ be handled via more [general functional affects](@ref func_affects).
58
58
59
59
Finally, multiple events can be encoded via a ` Vector{Pair{Vector{Equation}, Vector{Equation}}} ` .
60
60
61
+ Given an ` AbstractSystem ` , one can fetch its continuous events, and the continuous events of any
62
+ subsystem inside of it using the ` continuous_events(::AbstractSystem) ` method, returning a vector
63
+ of ` ModelingToolkit.SymbolicContinuousCallback ` objects.
64
+
61
65
### Example: Friction
62
66
63
67
The system below illustrates how continuous events can be used to model Coulomb
@@ -221,6 +225,10 @@ equations can either all change unknowns (i.e. variables) or all change
221
225
parameters, but one cannot currently mix unknown variable and parameter changes within one
222
226
individual event.
223
227
228
+ Given an ` AbstractSystem ` , one can fetch its discrete events, and the discrete events of any
229
+ subsystem inside of it using the ` discrete_events(::AbstractSystem) ` method, returning a vector
230
+ of ` ModelingToolkit.SymbolicDiscreteCallback ` objects.
231
+
224
232
### Example: Injecting cells into a population
225
233
226
234
Suppose we have a population of ` N(t) ` cells that can grow and die, and at time
You can’t perform that action at this time.
0 commit comments