Skip to content

Commit 3e5cbde

Browse files
committed
Add a note to the docstring about initialize and finalize
1 parent aa0ab70 commit 3e5cbde

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/systems/callbacks.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ DAEs will be reinitialized using `reinitializealg` (which defaults to `SciMLBase
111111
This reinitialization algorithm ensures that the DAE is satisfied after the callback runs. The default value of `CheckInit` will simply validate
112112
that the newly-assigned values indeed satisfy the algebraic system; see the documentation on DAE initialization for a more detailed discussion of
113113
initialization.
114+
115+
Initial and final affects can also be specified with SCC, which are specified identically to positive and negative edge affects. Initialization affects
116+
will run as soon as the solver starts, while finalization affects will be executed after termination.
114117
"""
115118
struct SymbolicContinuousCallback
116119
eqs::Vector{Equation}

0 commit comments

Comments
 (0)