mocquin / odelab

Numerical simulation of ODEs in python.

Home Page:http://olivierverdier.github.io/odelab/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ODE Solvers in Python

Build Status Coverage Status Python version

Numerical simulation of ODEs in Python (full documentation available).

Features

  • simulation of differential equations with various solvers
  • emphasis on long-time simulation, and efficient storage of data
  • symplectic solvers for mechanical systems
  • Generic Runge-Kutta solvers
  • Exponential solvers

Example

van der Pol example

That example can be reproduced with:

from odelab import Solver
from odelab.scheme.classic import RungeKutta4
from odelab.system.classic import VanderPol

s = Solver(scheme=RungeKutta4(.1), system=VanderPol())
s.initialize([2.7,0], name='2.7')
s.run(10.)
s.plot2D()

Read the full full documentation.

About

Numerical simulation of ODEs in python.

http://olivierverdier.github.io/odelab/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%