Skip to content

Add IMEX sweeps to SDC for split problems - #4570

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:sdc-imex
Sep 26, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:sdc-imex

Conversation

@singhharsh1708

@singhharsh1708 singhharsh1708 commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Add IMEX sweeps to SDC for SplitODEProblems: f1 is still solved node by node through QΔ, while f2 goes through a new strictly lower triangular explicit_sweeper (SDCSweeper.FE by default, or Picard), so it is never differentiated, as in Minion (2003) and pySDC's imex_1st_order.
The order is K+1 for K = 1..4 in and out of place, and on a stiff linear f1 plus nonlinear f2 the 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) = true the nonlinear solve sees the full f, so f2 is counted twice and all 8 order checks fail; another test errors if f2 ever 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.

@singhharsh1708
singhharsh1708 force-pushed the sdc-imex branch 5 times, most recently from 3d28826 to 2c79b4b Compare September 19, 2026 07:28
@ChrisRackauckas
ChrisRackauckas merged commit 83cabd1 into SciML:master Sep 26, 2026
131 of 134 checks passed
@singhharsh1708
singhharsh1708 deleted the sdc-imex branch September 26, 2026 13:03
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.

2 participants