specular.ode
Scalar specular methods for initial-value problems \(u'(t)=F(t,u(t))\).
These methods return numerical data on a uniform time grid; vector-valued
states are not supported.
Each field callback receives a NumPy vector point=[t,u] and returns a finite
real scalar. Pass the constant step as h; the mesh has
N_h=floor((T-t_0)/h) steps and no shortened final interval.
| Function or class | Description |
|---|---|
ellipse_scheme |
Implicit specular ellipse method with prescribed or automatic scale selection. |
euler_scheme_1 |
Explicit two-step specular Euler method of Type 1. |
euler_scheme_2 |
Explicit two-step specular Euler method of Type 2. |
euler_scheme_5 |
Implicit one-step specular Euler method of Type 5. |
ODEResult |
Time nodes, solution values, scales, and field-evaluation count. |
The same exports are available directly from specular, for example
specular.ellipse_scheme(...).
For the recurrences, scale-selection modes, and conditional convergence-order
assumptions, see Scalar ODE methods in the User Guide.