Repository navigation
Add IMEX sweeps to SDC for split problems - #4570
Merged
Merged
Conversation
singhharsh1708
force-pushed
the
sdc-imex
branch
5 times, most recently
from
September 19, 2026 07:28
3d28826 to
2c79b4b
Compare
singhharsh1708
force-pushed
the
sdc-imex
branch
from
September 20, 2026 05:31
2c79b4b to
64c0958
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.
Add IMEX sweeps to
SDCforSplitODEProblems:f1is still solved node by node throughQΔ, whilef2goes through a new strictly lower triangularexplicit_sweeper(SDCSweeper.FEby default, orPicard), so it is never differentiated, as in Minion (2003) and pySDC'simex_1st_order.The order is K+1 for K = 1..4 in and out of place, and on a stiff linear
f1plus nonlinearf2the sweep converges to the fully implicit collocation solution (difference 7.6e-5 at K = 2, 1.9e-8 at K = 8, 1.7e-13 at K = 16).Without
issplit(::SDC) = truethe nonlinear solve sees the fullf, sof2is counted twice and all 8 order checks fail; another test errors iff2ever reaches automatic differentiation.Threading a split problem requires
explicit_sweeper = SDCSweeper.Picard, since explicit Euler couples each node to the ones before it.AI Disclosure: Claude assisted with this change.