cgmdode : Coarse-Grained Macromolecular Dynamics with Open Dynamics Engine

authors : Bertrand Caré bertrand.care@gmail.com

Created : 20/11/2013

Introduction :

cgmdode is a library developped in C which is basically a wrapper for ODE
that includes a generic way of defining arbitrary long-range interactions
and statistical mechanics thermostats acting on simulated rigid bodies.
The user creates objects and cgmdode handles the simulation loop.

How to get the code :

Using mercurial :

hg clone https://bitbucket.org/bcare/cgmdode-hg

Or alternative select a tarball in the downloads sections at


You can download and try it for yourself. Feel free to suggest fixes.

Requirements :

cgmdode also ships with sglib (http://sglib.sourceforge.net/)
so sglib need not be installed system-wide.

Installation :

In the package folder :

./autogen.sh (before for the first ./configure call)
make install

See ./configure --help for available options.

Usage :

the API is in C, so you can include in your C or C++ project :

#include <cgmdode/cgmdode.h>

The user manual can be found in the doc folder.


cgmdode is licensed under the LGPL v3 (https://www.gnu.org/copyleft/lesser.html)

cgmdode uses Open Dynamics Engine (http://ode-wiki.org) which is released under the L
GPL v2.

cgmdode uses SGLIB (http://http://sglib.sourceforge.net/).

cgmdode uses the GNU Scientific Library (https://www.gnu.org/software/gsl/) released under the GPL v3.