Skip to content

fix(tests): BrownFullBasicInit for Rearranged Robin test#589

Draft
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/rearranged-robin-brown-init
Draft

fix(tests): BrownFullBasicInit for Rearranged Robin test#589
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/rearranged-robin-brown-init

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Summary

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

  • Failing test: Rearranged Robin in test/MOL_Interface1/MOLtest1.jl
  • Error: DAE initialization failed: ... normresid ≈ 0.559 > abstol = 1e-6 under OrdinaryDiffEq's default CheckInit
  • Fix: Pass initializealg = BrownFullBasicInit() at solve, matching test/Complex/schroedinger.jl

Other interface tests in this file are unchanged.

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"]="MOL_Interface1"; Pkg.test("MethodOfLines")
# Test Summary:  |   Time
# MOL_Interface1 | None  7m56.2s
# Testing MethodOfLines tests passed

Without the change, solve throws on initialization; with it, the group completes successfully.

Notes

Please ignore this PR until reviewed by @ChrisRackauckas.

Nonlinear Robin BCs produce a singular mass-matrix DAE after MOL
discretization. CheckInit rejects the inconsistent IC residual
(normresid ≈ 0.56). Use BrownFullBasicInit so algebraic variables
are adjusted, matching Complex/schroedinger.

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