Skip to content

Document the solution interface discretizers provide - #121

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:docs/solution-interface
Sep 13, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:docs/solution-interface

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Sep 13, 2026 •

Copy link
Copy Markdown
Member

Note: this PR should be ignored until reviewed by @ChrisRackauckas.

Adds a "Solution Interface" section to the developer extension page describing what a discretizer provides after solve: the PDETimeSeriesSolution/PDENoTimeSolution wrappers, sol[u(t, x)] and sol[x] indexing, the sol(t, x; dv = u(t, x)) evaluation call, sol.original_sol, and the three things a discretizer defines to get there (metadata via ProblemTypeCtx, the wrapper constructor for its metadata type, and getindex/call methods dispatching on it). MethodOfLines.jl defines this syntax today and NeuralPDE.jl mirrors it (SciML/NeuralPDE.jl#1165); it was not written down anywhere as the shared convention.

Companion ModelingToolkit PR with the user-facing description on the PDESystem page: SciML/ModelingToolkit.jl#5149

Verification

julia --project=docs -e 'include("docs/make.jl")' on this branch: build completes with no errors or warnings (a first attempt failed on a stray @ref to a SciMLBase type, which was removed). typos clean. Prose-only change.

🤖 Generated with Claude Code (model: claude-fable-5-1)

https://claude.ai/code/session_01WYPUXLxE9jVu2jXLFRd8ax

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