Just-in-Time Compilation for Delay Differential Equations
Project description
JiTCDDE stands for just-in-time compilation for delay differential equations (DDEs). It makes use of the method described by Thompson and Shampine which is based on the Bogacki–Shampine Runge–Kutta method. Briefly, past states are obtained from a cubic Hermite interpolation with the result of past integration steps being the anchors.
It can also calculate Lyapunov exponents with a method similar to the one described by Farmer, which in turn is essentially the method described by Benettin et al.. However, there is a crucial change to adapt those to the Shampine–Thompson approach, namely that for purposes of obtaining the norms of tangent vectors and applying the Gram–Schmidt orthonormalisation, a function scalar product is used.
JiTCDDE is designed in analogy to JiTCODE: It takes an iterable (or generator function) of SymPy expressions, translates them to C code, compiles them (and an integrator wrapped around them) on the fly, and allows you to operate this integrator from Python.
This is work in progress, so you are particularly encouraged to report any issues and feature request on the Issue Tracker or directly to me.
Here is a documentation automatically generated from docstrings (which will be extended soon).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.