Skip to content

Commit a7080c6

Browse files
Declare custom-integrator construction and stepping hooks public (#4081)
Declares fix_dt_at_bounds!, handle_tstop!, initialize_tstops, initialize_saveat and initialize_d_discontinuities public in OrdinaryDiffEqCore. These are the hooks packages use to build their own integrator on top of the OrdinaryDiffEqCore machinery; DelayDiffEq and OrdinaryDiffEqOperatorSplitting both call them and add methods to them. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent b809b2b commit a7080c6

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

lib/OrdinaryDiffEqCore/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqCore"
22
uuid = "bbf590c4-e513-4bbe-9b18-05decba2e5d8"
33
authors = ["ParamThakkar123 <paramthakkar864@gmail.com>"]
4-
version = "4.12.1"
4+
version = "4.13.0"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

lib/OrdinaryDiffEqCore/src/OrdinaryDiffEqCore.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,12 @@ include("precompilation_setup.jl")
488488
# of these, so they are a required solver-author extension point.
489489
:StochasticDiffEqCache, :StochasticDiffEqConstantCache,
490490
:StochasticDiffEqMutableCache, :trivial_limiter!,
491+
# Round 3: custom-integrator construction and stepping hooks. Packages that
492+
# build their own integrator on top of the OrdinaryDiffEqCore machinery
493+
# (DelayDiffEq, OrdinaryDiffEqOperatorSplitting) both call these and add
494+
# methods to them for their own integrator types.
495+
:fix_dt_at_bounds!, :handle_tstop!,
496+
:initialize_tstops, :initialize_saveat, :initialize_d_discontinuities,
491497
)
492498
)
493499
end

0 commit comments

Comments
 (0)