Repository navigation
Add MIN-SR-S and MIN-SR-FLEX diagonal sweepers to SDC - #4347
Merged
Merged
Conversation
singhharsh1708
force-pushed
the
sdc-min-sr
branch
4 times, most recently
from
August 29, 2026 08:14
c7d13ac to
1e10aba
Compare
This was referenced Aug 29, 2026
singhharsh1708
force-pushed
the
sdc-min-sr
branch
3 times, most recently
from
September 1, 2026 02:28
4cd8ca1 to
bdaf95f
Compare
singhharsh1708
marked this pull request as ready for review
September 1, 2026 02:43
Member
Author
|
@ChrisRackauckas ready for review, stacked on #4346. |
singhharsh1708
force-pushed
the
sdc-min-sr
branch
2 times, most recently
from
September 12, 2026 12:31
5f16234 to
b7857ce
Compare
singhharsh1708
force-pushed
the
sdc-min-sr
branch
from
September 14, 2026 16:40
b7857ce to
a927bd2
Compare
Member
Author
|
@ChrisRackauckas rebased on master now that #4346 is in, ready for review. |
This was referenced Sep 15, 2026
singhharsh1708
force-pushed
the
sdc-min-sr
branch
from
September 17, 2026 11:09
a927bd2 to
217df49
Compare
singhharsh1708
force-pushed
the
sdc-min-sr
branch
from
September 17, 2026 19:13
217df49 to
4bfab03
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 the MIN-SR-S and MIN-SR-FLEX diagonal sweepers from Čaklović, Lunet, Götschel and Ruprecht (SISC 47, 2025); a diagonal
QΔremoves the only node-to-node coupling inside a sweep, which is what makes parallel-across-the-nodes SDC worth doing. They run serially here.The coefficients are tabulated for 2 to 10 nodes across both node distributions and all four quadrature types, matching how the library ships tableau data; asking for more nodes raises an error naming the limit. The residual spectral radius grows with
M, from about 1e-8 atM = 2to 1e-1 atM = 10, because the paper gives no guarantee that an exact solution exists.MIN_SR_FLEXvaries the preconditioner per sweep, so the tableau holdsVector{Matrix}read throughsdc_qdelta_for(tab, k).On Prothero-Robinson at
lambda = -1e4,M = 3,dt = 0.1, serialLUreaches 3.6e-3, 8.2e-4, 2.9e-7 and 1.2e-9 atK = 3, 4, 6, 8; the diagonal sweepers are worse thanLUat equal sweeps, which is the cost parallelism has to buy back. Coefficients are checked against qmat insdc_diagonal_sweeper_tests.jl, and both sweepers are now in the convergence-order gate insdc_convergence_tests.jl.AI Disclosure: Claude assisted with this change.