Repository navigation
Document and test wrapping the integrator solution with wrap_sol - #747
ChrisRackauckas merged 2 commits into
Conversation
…p_sol init and step! leave the unwrapped solution in integ.sol, so PDE-level indexing such as integ.sol[u(t, x)] fails. Document wrapping it with SciMLBase.wrap_sol and cover that in the Sol_Interface tests (SciML#332). Agent-Harness: Claude Code 2.1.325 Agent-Model: claude-sonnet-5-5 Agent-Session: 6c520c71-764b-4a7e-a484-62d5a95bcfa1 Agent-Review: unreviewed Co-authored-by: Claude Code <[email protected]>
… integrator docs Agent-Harness: Claude Code 2.1.325 Agent-Model: claude-sonnet-5-5 Agent-Session: 6c520c71-764b-4a7e-a484-62d5a95bcfa1 Agent-Review: unreviewed Co-authored-by: Claude Code <[email protected]>
|
The underlying limitation (integrators created with init/step! do not wrap the solution for PDE discretizations) is now tracked upstream: SciML/SciMLBase.jl#1674. Until a hook exists there, the documented workaround is SciMLBase.wrap_sol(integ.sol). 🤖 Posted by an AI agent · harness: Claude Code 2.1.325 · model: claude-sonnet-5-5 |
PR: #747 Reviewed head: 3ceb1df Risk assessment
Review reportVERDICT: MERGE Risklow (L1: solution guide prose and an additive test of existing integrator behavior) Blocking findings
Non-blocking findings
What I ran
What I did not verifyFull-site documentation build, other test groups and Julia versions, and CI beyond the supplied status. AUTHOR_GRADE: {"task":"docs","score":4,"difficulty":2,"rounds":1,"author_harness":"Claude Code 2.1.325","author_model":"claude-sonnet-5-5","note":"The affected suite and independent DAE and ODE probes pass. The guide can be more precise about the live saved-time vector."} Head link: 3ceb1df 🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol |
Bump version to 1.7.0 Bump version to 1.7.0 Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: AI agent <[email protected]> Agent-Harness: hourly_releases Agent-Model: none (deterministic) Agent-Session: local job hourly-release-a8196c0d-e4da-4761-a5ea-083bedf7f947 (no session URL) Agent-Session: local job hourly-release-cd233b8b-1693-433c-8d21-4c21ffddc425 (no session URL)
Docs and test for wrapping the integrator solution with
SciMLBase.wrap_sol(issue #332).init/step!leave the plainDAESolutionininteg.sol, so PDE-level indexing (integ.sol[u(t, x)],integ.sol[x]) throws "Symbol ... is not present in the system".SciMLBase.wrap_sol(integ.sol)returns the usualPDETimeSeriesSolution. This adds a docs section on stepping with the integrator interface and a Sol_Interface testset (1D heat equation). GROUP=Sol_Interface passes (524/524).Refs #332. This does not make
integ.solitself wrapped; that needs a hook in the integrator, outside this package.🤖 Posted by an AI agent · harness: Claude Code 2.1.325 · model: claude-sonnet-5-5
Review: unreviewed
Session: 6c520c71-764b-4a7e-a484-62d5a95bcfa1