Skip to content
pdmetcalfe edited this page Dec 22, 2012 · 2 revisions

Introduction

Ever had to define a large set of ODEs with little intrinsic structure in such a way that it can be easily edited by users with little experience of ODE solution? Here's one solution to the problem. defode is a Python package that defines a little DSL for ODE definition. ODE definitions are captured and can then be replayed into compilable C code that can interface to standard solvers like VODE. So you get the benefit of a nice user interface that means you don't have to carefully sort out your array indices, and the efficiency of compiled code for big computations. There is also a convenience layer that simplifies compartmental modelling.

Clone this wiki locally