Skip to content

Commit

Permalink
Add gillespie, rk45 api examples
Browse files Browse the repository at this point in the history
  • Loading branch information
katekaseth committed Sep 7, 2018
1 parent cf9a1e2 commit cd7044a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wrappers/Python/doc/mod_roadrunner/cls_Integrator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ Gillespie

Specifies the initial time step size. If inappropriate, CVODE will attempt to estimate a better initial time step. Default value is 0.0

>>> r.setIntegrator('gillespie') # set integrator first
>>> r.integrator.seed = '1234'


.. attribute:: Integrator.maximum_time_step

Expand Down Expand Up @@ -168,6 +171,8 @@ RK45

Specifies the maximum error tolerance allowed. Default value is 1e-12.

>>> r.setIntegrator('rk45') # set integrator first
>>> r.integrator.epsilon = 1e-10

.. attribute:: Integrator.maximum_time_step

Expand Down

0 comments on commit cd7044a

Please sign in to comment.