next up previous contents index
Next: Alchemical Free Energy Methods1 Up: Collective Variable-based Calculations (Colvars)1 Previous: Biasing and analysis methods   Contents   Index

Subsections

Colvars scripting

This interface is particularly useful to implement custom biases as scripted colvar forces. See the scriptedColvarForces option in [*]. 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.

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.

2]

#1

Managing the Colvars module

Input and output

Accessing collective variables

Accessing biases

<35348>>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

<35649>>

Managing the colvars module

Input and output

Accessing collective variables

Accessing biases

The following configuration options can modify the behavior of the scripting interface for optimization purposes:


next up previous contents index
Next: Alchemical Free Energy Methods1 Up: Collective Variable-based Calculations (Colvars)1 Previous: Biasing and analysis methods   Contents   Index
http://www.ks.uiuc.edu/Research/namd/