assimulo.examples.cvode_gyro.
run_example
(with_plots=True)[source]¶on return:
- exp_mod problem instance
- exp_sim solver instance
Final Run Statistics: Gyroscope Example
Number of steps : 3296
Number of function evaluations : 3408
Number of Jacobian evaluations : 55
Number of function eval. due to Jacobian eval. : 660
Number of error test failures : 0
Number of nonlinear iterations : 3404
Number of nonlinear convergence failures : 0
Solver options:
Solver : CVode
Linear multistep method : BDF
Nonlinear solver : Newton
Linear solver type : DENSE
Maximal order : 2
Tolerances (absolute) : 1e-10
Tolerances (relative) : 1e-10
Simulation interval : 0.0 - 0.1 seconds.
Elapsed simulation time: 0.295341014862 seconds.
Note
Press [source] (to the top right) to view the example.