Skip to content

Rkmk2[WIP] - #1124

Closed
Biswajitghosh98 wants to merge 2 commits into
SciML:masterfrom
Biswajitghosh98:RKMK2
Closed

Biswajitghosh98 wants to merge 2 commits into
SciML:masterfrom
Biswajitghosh98:RKMK2

Conversation

@Biswajitghosh98

@Biswajitghosh98 Biswajitghosh98 commented Apr 29, 2020 •

Copy link
Copy Markdown
Contributor

Adding RKMK2.

To do : Convergence failure

(Sending a PR to track the changes)

@Biswajitghosh98
Biswajitghosh98 deleted the RKMK2 branch July 26, 2020 17:12
ChrisRackauckas added a commit that referenced this pull request May 8, 2026
The "remove all corresponding time stops" loop in handle_discontinuities!
was eagerly popping every tstop within 10*eps of the just-processed
discontinuity, including user-supplied tstops. With multi-lag DDEs whose
propagated-discontinuity tstops drift by float roundoff (e.g. constant_lags
[0.2, 4.0] generate tstops at 8.999999999999996, 8.999999999999998, and 9.0
all within 10*eps(9.0)), this swallowed PresetTimeCallback tstops along
with the propagated ones.

Restrict the cleanup to integrator.tstops_propagated only, so user tstops
survive the merge. Adds a regression test using Vern9 on a trivial DDE
(needed because Tsit5's discontinuity-order limit blocks the order-7
propagation path 5*0.2 + 2*4 = 9.0).

Fixes SciML/DifferentialEquations.jl#1124.

Co-Authored-By: Chris Rackauckas <[email protected]>
jClugstor pushed a commit to jClugstor/OrdinaryDiffEq.jl that referenced this pull request May 15, 2026
- DelayDiffEq 6.0.0 -> 6.0.1: bug fix for DDE tstops handling (SciML#1124)
- OrdinaryDiffEqDifferentiation 3.1.0 -> 3.1.1: JacReuseState slot
  refactor (drop Union{Nothing,...})
- OrdinaryDiffEqFIRK 2.1.0 -> 2.2.0: BigFloat gauss-legendre support
- OrdinaryDiffEqNewmark 2.0.0 -> 2.1.0: Generalized Alpha method
- OrdinaryDiffEqRosenbrock 2.1.0 -> 2.2.0: Hermite DAE dense-output fix
  + JacReuseState type parameterization
- OrdinaryDiffEqStabilizedRK 2.1.0 -> 2.2.0: Runge-Kutta-Gegenbauer
  methods

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant