Shortcut: ANGLES
Module | multicolvar |
---|---|
Description | Usage |
Calculate functions of the distribution of angles. | |
output value | type |
the ANGLE for each set of three atoms that were specified | vector |
Output components
This action can calculate the values in the following table when the associated keyword is included in the input for the action. These values can be referenced elsewhere in the input by using this Action's label followed by a dot and the name of the value required from the list below.
Name | Type | Keyword | Description |
---|---|---|---|
lessthan | scalar | LESS_THAN | the number of colvars that have a value less than a threshold |
morethan | scalar | MORE_THAN | the number of colvars that have a value more than a threshold |
altmin | scalar | ALT_MIN | the minimum value of the cv |
min | scalar | MIN | the minimum colvar |
max | scalar | MAX | the maximum colvar |
between | scalar | BETWEEN | the number of colvars that have a value that lies in a particular interval |
highest | scalar | HIGHEST | the largest of the colvars |
lowest | scalar | LOWEST | the smallest of the colvars |
sum | scalar | SUM | the sum of the colvars |
mean | scalar | MEAN | the mean of the colvars |
Input
The atoms that serve as the input for this action are specified using one or more of the keywords in the following table.
Keyword | Type | Description |
---|---|---|
GROUP | atoms | Calculate angles for each distinct set of three atoms in the group |
GROUPA | atoms | A group of central atoms about which angles should be calculated |
GROUPB | atoms | When used in conjunction with GROUPA this keyword instructs plumed to calculate all distinct angles involving one atom from GROUPA and two atoms from GROUPB |
GROUPC | atoms | This must be used in conjunction with GROUPA and GROUPB |
Further details and examples
Calculate functions of the distribution of angles.
This shortcut action allows you to calculate function of a distribution of angles and reproduces the syntax in older PLUMED versions. If you look at the example inputs below you can see how the new syntax operates. We would strongly encourage you to use the newer syntax as it offers greater flexibility.
You can use this command to calculate functions, g, such as:
f(x)=∑ijkg(θijk)
where θijk is the angle between the vector connecting atom i and and j and the vector connecting atom j and atom k. Alternatively you can use this command to calculate functions such as:
f(x)=∑ijks(rij)s(rjk)g(θijk)
where s(r) is a switching function. This second form means that you can use this to calculate functions of the angles in the first coordination sphere of an atom / molecule and hence use the CVs described in the paper in the bibliography below.
The following example tells plumed to calculate all angles involving at least one atom from GROUPA and two atoms from GROUPB in which the distances are less than 1.0. The number of angles between π4 and 3π4 is then output
a1ANGLESCalculate functions of the distribution of angles. This action is a shortcut. More details GROUPAA group of central atoms about which angles should be calculated=1-10 GROUPBWhen used in conjunction with GROUPA this keyword instructs plumed to calculate all distinct angles involving one atom from GROUPA and two atoms from GROUPB=11-100 BETWEENcalculate the number of values that are within a certain range. Options for this keyword are explained in the documentation for BETWEEN.={GAUSSIAN LOWER=0.25pi UPPER=0.75pi} SWITCHthe switching function specifies that only those bonds that have a length that is less than a certain threshold are considered={GAUSSIAN R_0=1.0} : PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=a1.between FILEthe name of the file on which to output these quantities=colvar
References
More information about how this action can be used is available in the following articles: - G. A. Tribello, J. Cuny, H. Eshet, M. Parrinello, Exploring the free energy surfaces of clusters using reconnaissance metadynamics. The Journal of Chemical Physics. 135 (2011)
Syntax
The following table describes the keywords and options that can be used with this action
Keyword | Type | Default | Description |
---|---|---|---|
GROUP | input | none | Calculate angles for each distinct set of three atoms in the group |
GROUPA | input | none | A group of central atoms about which angles should be calculated |
GROUPB | input | none | When used in conjunction with GROUPA this keyword instructs plumed to calculate all distinct angles involving one atom from GROUPA and two atoms from GROUPB |
GROUPC | input | none | This must be used in conjunction with GROUPA and GROUPB |
SWITCH | optional | not used | the switching function specifies that only those bonds that have a length that is less than a certain threshold are considered |
LESS_THAN | optional | not used | calculate the number of variables that are less than a certain target value. Options for this keyword are explained in the documentation for LESS_THAN. |
MORE_THAN | optional | not used | calculate the number of variables that are more than a certain target value. Options for this keyword are explained in the documentation for MORE_THAN. |
ALT_MIN | optional | not used | calculate the minimum value |
MIN | optional | not used | calculate the minimum value |
MAX | optional | not used | calculate the maximum value |
BETWEEN | optional | not used | calculate the number of values that are within a certain range. Options for this keyword are explained in the documentation for BETWEEN. |
HIGHEST | optional | false | this flag allows you to recover the highest of these variables |
HISTOGRAM | optional | not used | calculate a discretized histogram of the distribution of values |
LOWEST | optional | false | this flag allows you to recover the lowest of these variables |
SUM | optional | false | calculate the sum of all the quantities |
MEAN | optional | false | calculate the mean of all the quantities |