assimulo.examples.dasp3_basic.
run_example
(with_plots=True)[source]¶Example to demonstrate the use of DASP3 for a singularly perturbed problem:
Slow part of the problem:
with \(\varepsilon = \frac{1}{3} 10^{-3}\).
Fast part of the problem:
on return:
- exp_mod problem instance
- exp_sim solver instance
Final Run Statistics: DASP3 Example: Singularly perturbed ODE
Solver options:
Solver : DASP3
Tolerances (absolute) : 1e-05
Tolerances (relative) : 1e-05
Simulation interval : 0.0 - 10.0 seconds.
Elapsed simulation time: 0.631796121597 seconds.
Note
Press [source] (to the top right) to view the example.