Commit cdb7ad5
Make ProblemTypeCtx public API (#4842)
`ProblemTypeCtx` is the documented metadata key that controls
`prob.problem_type`, read by `ODEProblem` and `NonlinearProblem`
construction. SciMLBase's `wrap_sol` dispatches on that value, so PDE
discretization packages must set it to have their solutions wrapped in
`PDETimeSeriesSolution` / `PDENoTimeSolution`. It is a cross-package
protocol key, but was neither exported nor `public`, so downstream users
had no non-internal way to reach it.
Mark it `@public` and add it to the rendered docs. `MTKVariableTypeCtx`
is already public, so this follows the existing treatment of metadata
context types.
Claude-Session: https://claude.ai/code/session_0117aJvytDT3y2jMi5Ng6Q5m
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent dad829b commit cdb7ad5
3 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
51 | 61 | | |
52 | 62 | | |
53 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
| 409 | + | |
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
| |||
0 commit comments