next up previous contents index
Next: Biasing and analysis methods Up: Collective variable components (basis Previous: Linear and polynomial combinations   Contents   Index


Colvars as scripted functions of components

When scripting is supported (default in VMD), a colvar may be defined as a custom function of its components, rather than a linear or polynomial combination. When implementing generic functions of Cartesian coordinates rather than functions of existing components, the cartesian component may be particularly useful.

An example of elaborate scripted colvar is given in example 10, in the form of path-based collective variables as defined by Branduardi et al[50]. The required Tcl procedures are provided in the colvartools directory.


next up previous contents index
Next: Biasing and analysis methods Up: Collective variable components (basis Previous: Linear and polynomial combinations   Contents   Index
vmd@ks.uiuc.edu