rungekutta34_with_disc.py

assimulo.examples.rungekutta34_with_disc.run_example(with_plots=True)[source]

No initialization defined for the problem.
A discontinuity occured at t = 1.000000e+00.
Current switches: [False, True, True]
Event info: [array([ 0,  0, -1]), False]
Final Run Statistics: ODE with discontinuities and a function with consistency problem 

 Number of steps                       : 7
 Number of function evaluations        : 35
 Number of state function evaluations  : 50
 Number of state events                : 1

Solver options:

 Solver             : RungeKutta34
 Solver type        : Adaptive
 Relative tolerance : 1e-06
 Absolute tolerance : 1e-06

No finalization defined for the problem.
Final Run Statistics: ODE with discontinuities and a function with consistency problem 

 Number of steps                       : 17
 Number of function evaluations        : 85
 Number of state function evaluations  : 60
 Number of state events                : 1

Solver options:

 Solver             : RungeKutta34
 Solver type        : Adaptive
 Relative tolerance : 1e-06
 Absolute tolerance : 1e-06

Simulation interval    : 0.0 - 10.0 seconds.
Elapsed simulation time: 0.0384030342102 seconds.
_images/rungekutta34_with_disc.png

Note

Press [source] (to the top right) to view the example.