Skip to content

fix(tests): BrownFullBasicInit for KdV single-soliton test#588

Draft
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/higher-order-kdv-brown-init
Draft

fix(tests): BrownFullBasicInit for KdV single-soliton test#588
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/higher-order-kdv-brown-init

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Summary

Fixes the failing master CI test group Higher_Order (all Julia versions).

  • Failing test: KdV Single Soliton equation in test/Higher_Order/MOL_1D_HigherOrder.jl
  • Error: DAE initialization failed: ... normresid ≈ 3.56e-5 > abstol = 1e-6 under OrdinaryDiffEq's default CheckInit
  • Fix: Pass initializealg = BrownFullBasicInit() at solve, matching test/Complex/schroedinger.jl

Other tests in this file (Test 00 beam, beam-with-velocity) are unchanged. Beam-with-velocity already succeeds without special initialization.

This is a minimal, test-scoped fix. A broader package-level fallback is proposed in #585.

Verification

Locally on Julia 1.10.11:

ENV["GROUP"]="Higher_Order"; Pkg.test("MethodOfLines")
# Test Summary: | Pass  Broken  Total
# Higher_Order  |    1       2      3

Notes

Please ignore this PR until reviewed by @ChrisRackauckas.

Over-specified boundary derivatives leave an O(dx^2) residual that
OrdinaryDiffEq CheckInit rejects (normresid ≈ 3.6e-5 > 1e-6).
Initialize algebraic variables with BrownFullBasicInit, matching
the Complex/schroedinger tests.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
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