Skip to content

Fix dense output for the explicit multirate methods - #4233

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:multirate-dense-output
Aug 30, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:multirate-dense-output

Conversation

@singhharsh1708

@singhharsh1708 singhharsh1708 commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

The explicit multirate perform_step! methods never wrote the endpoint derivatives the Hermite interpolant reads, so sol(t) between nodes, saveat off the grid and ContinuousCallback root finding all interpolated off the slope from the start of the solve; each method now fills k[1] and k[2].

The interpolation error sat at 7.2e-3 between nodes regardless of the method's accuracy at the nodes; MREEF now lands on its expected 1.63e-8.

Fixes #4139.

AI Disclosure: Claude assisted with this change.

@singhharsh1708
singhharsh1708 force-pushed the multirate-dense-output branch from addb600 to 2d5eb42 Compare August 29, 2026 08:14
@ChrisRackauckas
ChrisRackauckas merged commit 89cf676 into SciML:master Aug 30, 2026
133 of 135 checks passed
@singhharsh1708
singhharsh1708 deleted the multirate-dense-output branch August 30, 2026 06:38
ChrisRackauckas added a commit that referenced this pull request Sep 7, 2026
- Fix StochasticDiffEqImplicit import ordering (#4408)
- Fix TauLeaping JumpProblem initialization (#4409)
- Fix dense output for the explicit multirate methods (#4233)
- Let reinit! keep the step-size controller history (#4400)
- Mark an operator Jacobian as updated when calc_W! moves it (#4354)
- Restore weighted preconditioning and tolerances for default Krylov solves (#4391)



Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude Opus 5 (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.

Multirate methods: dense output is order 1, fsallast is never filled

2 participants