twallema / pySODM

Simulating and Optimising Dynamical Models in Python 3
Other
9 stars 2 forks source link

Fixed-length discrete time stepper for ODEModels #45

Closed twallema closed 1 year ago

twallema commented 1 year ago

Describe your fixes/additions/changes

In some situations, f.i. while prototyping, or if simulating quick-and-dirty, it is advantageous to have a discrete timestepper with a fixed timestep at hand for the ODEModel.

When supplying the argument tau=1 to ODEModel.sim(), the solution is generated by stepping with a fixed length of one.