Repository navigation
Add Friedli Exponential Runge-Kutta solver - #4481
Merged
ChrisRackauckas merged 1 commit intoSep 12, 2026
Merged
Conversation
ChrisRackauckas
approved these changes
Sep 11, 2026
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 13, 2026
- qa: allow JET 0.12 in OrdinaryDiffEqCore/BDF/NonlinearSolve QA envs (#4516) - Add regression tests for issues verified fixed in recent releases (#4517) - fix: save all simultaneous events in a VCC (#4129) - Add 4th-order Friedli Exponential Runge-Kutta solver (#4481) - Release DiffEqBase 7.21.1 (#4521) - Fix BDF rejected-step controller for backward (tdir < 0) solves (#4519) - Require OrdinaryDiffEqCore 4.17.1 where its new internals are used (#4525) - OrdinaryDiffEqDefault: require OrdinaryDiffEqCore 4.17.1 (#4520) - Add adaptive step size control to SDC (#4346) - Allow JET 0.12 in every QA test environment (#4513) 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]>
3 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the 4th-order Friedli Exponential Runge-Kutta (ExpRK) method for stiff semilinear problems$\dot{u} = Au + g(t, u)$ , based on A. Friedli (1978) ("Verallgemeinerte Runge-Kutta Verfahren zur Lösung steifer Differentialgleichungssysteme").
The implementation follows the established architecture in
OrdinaryDiffEqExponentialRK.jl(closely mirroringHochOst4):Friedlialgorithm struct inalgorithms.jl, registered its order (alg_order = 4) and dt-changeability inalg_utils.jl, and exportedFriedliinOrdinaryDiffEqExponentialRK.jl.FriedliCache(in-place) andFriedliConstantCache(out-of-place) inexponential_rk_caches.jlwith pre-allocated stage buffers and phi-operator operators (perform_step!for both cache types inexponential_rk_perform_step.jlsupporting both full matrix exponentials and Krylov approximations.Friedliin bothsemiimplicit/ExponentialRK.mdandsemilinear/ExponentialRK.md, as well aslib/OrdinaryDiffEqExponentialRK/README.md.Verification
Friedlitolinear_nonlinear_convergence_tests.jl, confirming expected 4th-order convergence rates for both in-place (iip) and out-of-place (oop) problems.Friedlitolinear_nonlinear_krylov_tests.jlvalidating integration with Krylov subspace exponential approximations.Friedlitoqa/allocation_tests.jlto ensure zero unexpected allocations in hot loops.Checklist
AI disclosure: Assisted by Google Antigravity.