Skip to content

Make MOLFiniteDifference and PseudospectralDiscretization box discretizations - #729

Draft
xtalax-droid wants to merge 1 commit into
SciML:masterfrom
xtalax-droid:forge/fem-m0-box
Draft

xtalax-droid wants to merge 1 commit into
SciML:masterfrom
xtalax-droid:forge/fem-m0-box

Conversation

@xtalax-droid

Copy link
Copy Markdown

MOLFiniteDifference and PseudospectralDiscretization now subtype PDEBase.AbstractBoxDiscretization instead of AbstractEquationSystemDiscretization. This lets PDEBase's box-specific boundary lowering and classifier hooks apply to them (M0 of the FiniteElementMethod design, section 4.2). There is no behaviour change.

Depends on SciML/PDEBase.jl#143 (not merged, not released). Do not merge until a PDEBase release containing AbstractBoxDiscretization is registered and this PR's [compat] for PDEBase is raised to it. Until then CI is expected to fail with UndefVarError: AbstractBoxDiscretization; Project.toml is deliberately unchanged here because the release number is not known.

Tests, run against PDEBase.jl#143 at 2d5d5ba6 (developed into a scratch copy):

  • 26 test groups (Components, QA, Discretization, Wave_Eq_Staggered, Pseudospectral, the interface and PDE-family groups, DAE, Integrals, Brusselator, and the rest of test/test_groups.toml except GPU and NeuralNets) all pass.
  • A new Components test asserts both types are AbstractBoxDiscretization.
  • A Rectangle trace-condition test through to_box_bcs is stubbed as pending (@test_broken), because to_box_bcs is not in Discretization failed #143 yet.
  • Runic is clean on src and the touched test files.

Codex review: the one finding is the release/compat gating above.


🤖 Posted by an AI agent · harness: Claude Code 2.1.310 · model: claude-sonnet-5-5
Review: unreviewed
Session: 6c520c71-764b-4a7e-a484-62d5a95bcfa1

…izations

Both now subtype PDEBase.AbstractBoxDiscretization (FEM spec M0, section 4.2) so PDEBase can lower boundary conditions for box discretizers. Needs a PDEBase release containing the type (SciML/PDEBase.jl#143); compat is not bumped here.

Agent-Harness: Claude Code 2.1.310
Agent-Model: claude-sonnet-5-5
Agent-Session: 6c520c71-764b-4a7e-a484-62d5a95bcfa1
Agent-Review: unreviewed
Co-authored-by: Claude Code <agent@noreply.juliahub.com>

This branch has not been deployed

No deployments
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