Colvars

Collective variables module for molecular simulation programs

Download .zip Download .tar.gz View on GitHub

A software module for molecular simulation programs, which provides a flexible and high-performance platform for present and future algorithms (reference article).

Reference manual:

Example configurations:

To use the latest version of this code:

To report bugs or to suggest new features:

Use the Issues tab of our Github page.

To extend the code

A working implementation of a new variable or a new algorithm can be achieved already with scripted functions, without changes to the C++ code: see the reference manuals for details. Depending on how much the scripted code reuses binary code, this may be already efficient, or require changes to the underlying code.

For further flexibility and optimization, it is possible to modify the C++ code: details are available through the C++ class documentation. One notable example is adding a new type of collective variable, which is described here.

License

This software is distributed under the GNU Lesser General Public License, version 3.