Multirate: add MRI-GARK-ERK33a (3rd-order) + unify MRI-GARK formulation#3747
Open
singhharsh1708 wants to merge 1 commit into
Open
Multirate: add MRI-GARK-ERK33a (3rd-order) + unify MRI-GARK formulation#3747singhharsh1708 wants to merge 1 commit into
singhharsh1708 wants to merge 1 commit into
Conversation
Adds the 3rd-order explicit MRI-GARK method of Sandu 2019 (coefficients from SUNDIALS). Unifies all MRI-GARK methods onto one general formulation: per-stage sub-interval (Δc) integration with τ-dependent coupling ω=W0+W1·τ and an explicit RK inner solver (RK2 for ERK22a/b, RK3 for ERK33a), with an embedded lower-order error estimate. Convergence verified: ERK22a/b order 2, ERK33a order 3 (IIP + OOP). Bump 2.3.0 -> 2.4.0.
dc81b5d to
9449ae2
Compare
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.
Adds MRIGARKERK33a, the 3rd-order explicit MRI-GARK method of Sandu 2019 (SINUM 57:2300–2327), and unifies the MRI-GARK family onto one general formulation. Follow-up to the order-2 MRI-GARK methods.
Formulation
Each stage integrates the fast IVP
v' = Δcᵢ·dt·f1(v) + dt·Σⱼ ωᵢⱼ(τ)·f2(z_{j-1})over its sub-interval, with τ-dependent couplingωᵢⱼ(τ) = W0[i,j] + W1[i,j]·τand an explicit-RK inner solver of orderq(RK2 for ERK22a/b, RK3 for ERK33a). An embedded lower-order solution gives the adaptive error estimate. Coefficients transcribed from SUNDIALS ARKODE.Unification
The previous ERK22a/b used a simplified constant-coupling form; all three methods now share one
MRIGARKTableau, cache, andperform_step!(IIP + OOP). The ERK22a/b re-expression is behavior-preserving — existing ERK22 tests pass unchanged.Tests
Convergence verified — ERK22a/b order 2, ERK33a order 3 (both IIP and OOP); full multirate suite green (MRI-GARK 21 tests). Per-step allocations ~16 bytes. Version 2.3.0 → 2.4.0.
Notes for review
q(2 vs 3) to select the RK2/RK3 inner integrator — happy to type-dispatch it if you'd prefer.