next up previous contents index
Next: #1 Up: Collective Variables Interface (Colvars) Previous: Scripted biases   Contents   Index


Colvars scripting

This interface is particularly useful to implement custom biases as scripted colvar forces. See the scriptedColvarForces option in 13.5.9. Note that scripting commands may not be used directly in the NAMD configuration file before the first run or minimize statement. They may be used either within the callback procedures (e.g. calc_colvar_forces) or in the NAMD config file after a run or minimize statement.

<20856>>Collective variables and biases can be added, queried and deleted through the scripting command cv, with the following syntax: cv $ <$ subcommand$ >$ [args...]. For example, to query the value of a collective variable named myVar, use the following syntax: set value [cv colvar myVar value]. All subcommands of cv are documented below.

1]


Subsections

vmd@ks.uiuc.edu