Conversation
Co-authored-by: pancetta <7158893+pancetta@users.noreply.github.com> Agent-Logs-Url: https://github.com/Parallel-in-Time/pySDC/sessions/c6f96285-1ac7-4575-83b4-9ab4ed4e5208
Co-authored-by: pancetta <7158893+pancetta@users.noreply.github.com> Agent-Logs-Url: https://github.com/Parallel-in-Time/pySDC/sessions/c6f96285-1ac7-4575-83b4-9ab4ed4e5208
Copilot created this pull request from a session on behalf of
pancetta
March 25, 2026 15:35
View session
Member
…ence script Co-authored-by: pancetta <7158893+pancetta@users.noreply.github.com> Agent-Logs-Url: https://github.com/Parallel-in-Time/pySDC/sessions/9c6f659a-aa3a-4d58-83cc-eea886bf9455
Contributor
Author
Added
|
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.
Tests temporal convergence order of IMEX-SDC on the 1D viscous Burgers equation using manufactured solutions (MMS), demonstrating full collocation order for homogeneous BCs, order reduction for inhomogeneous time-dependent BCs, and order restoration via boundary lifting.
New playground:
pySDC/playgrounds/Burgers_1D_FD/Problem classes (
Burgers_1D_FD.py)Three MMS classes sharing a base with a 4th-order FD Laplacian and 4th-order FD first-derivative operator (to keep spatial error floor ~1e-12):
burgers_1d_hom—u_h = 0.1·sin(πx)·cos(t), homogeneous BCs. Autonomousf_impl = ν·A·u, nob_bccorrection.burgers_1d_inhom—u_inh = 0.5 + 0.1·sin(πx)·cos(t) + 0.1x·sin(t), time-dependent right BCu(1,t) = 0.5 + 0.1·sin(t).f_impl = ν·A·u + ν·b_bc(t)with explicit time dependence.burgers_1d_inhom_lift— same exact solution asburgers_1d_inhom, reformulated with boundary liftingE(x,t) = 0.5 + 0.1x·sin(t). Lifted variablev = u − Esatisfies homogeneous BCs withv_ex = 0.1·sin(πx)·cos(t). Autonomousf_impl = ν·A·v, nob_bccorrection.IMEX split: diffusion implicit (
ν·A·uorν·A·v), nonlinear advection + manufactured forcing explicit (-u·u_x + g, adjusted for lifting where applicable).Convergence study (
run_convergence.py)M=3 RADAU-RIGHT,
restol=1e-13,nvars=1023,ν=0.1,T_end=0.5:The time-dependent right BC enters
f_implviab_bc(t), breaking the autonomous structure and reducing collocation order by 1. Boundary lifting removesb_bcfromf_impl, restoring the full collocation order — consistent with the Allen-Cahn playground findings in #637.📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.