assimulo.examples.ida_basic_backward.
run_example
(with_plots=True)[source]¶The same as example cvode_basic.py but now integrated backwards in time.
on return:
- exp_mod problem instance
- exp_sim solver instance
Final Run Statistics: IDA Example: $\dot y + y = 0$ (reverse time)
Number of steps : 104
Number of function evaluations : 124
Number of Jacobian evaluations : 17
Number of function eval. due to Jacobian eval. : 17
Number of error test failures : 0
Number of nonlinear iterations : 124
Number of nonlinear convergence failures : 0
Solver options:
Solver : IDA (BDF)
Maximal order : 5
Suppressed algebr. variables : False
Tolerances (absolute) : 1e-08
Tolerances (relative) : 1e-08
Simulation interval : 5.0 - 0.0 seconds.
Elapsed simulation time: 0.0276439189911 seconds.
Note
Press [source] (to the top right) to view the example.