Skip to content

LongyanU/odelab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ODE Solvers in Python

Build Status Coverage Status ![Python version](https://img.shields.io/badge/python-2.7, 3.4-blue.svg?style=flat-square)

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.

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%