Expand description
ODE solver convergence and performance options for the dynamic dispatch API.
This module defines OdeSolverOptions, a handle obtained via OdeWrapper::get_options. It provides getters and setters for tuning the nonlinear solver and time-stepping behaviour of the ODE integrator:
- Nonlinear solver: OdeSolverOptions::get_max_nonlinear_solver_iterations, OdeSolverOptions::get_max_error_test_failures.
- Jacobian updates: OdeSolverOptions::get_update_jacobian_after_steps, OdeSolverOptions::get_update_rhs_jacobian_after_steps, OdeSolverOptions::get_threshold_to_update_jacobian, OdeSolverOptions::get_threshold_to_update_rhs_jacobian.
- Step size: OdeSolverOptions::get_min_timestep.
Also includes OdeSolverOptionsSnapshot, a serializable snapshot used for serde round-tripping of solver configuration.