Expand description
Solution wrapper for the dynamic dispatch API.
This module defines SolutionWrapper, a thread-safe handle around a type-erased ODE solution. Returned by all solve methods on OdeWrapper, it provides methods to extract the solution data:
- SolutionWrapper::get_ys โ the state values at each time point (returns HostArray).
- SolutionWrapper::get_ts โ the time points (returns HostArray).
- SolutionWrapper::get_sens โ the sensitivity matrices (returns
Vec<HostArray>).
SolutionWrapper implements Serialize, serializing as {ts, ys, sensitivities}.