Shortcut: COORD_ANGLES

Module multicolvar
Description Usage
Calculate functions of the distribution of angles between bonds in the first coordination spheres of a set of atoms used in 0 tutorialsused in 1 eggs

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
between scalar BETWEEN the number of colvars that have a value that lies in a particular interval
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
CATOMS atoms all the angles between the bonds that radiate out from these central atom are computed
GROUP atoms a list of angls between pairs of bonds connecting one of the atoms specified using the CATOM command and two of the atoms specified here are computed

Further details and examples

Calculate functions of the distribution of angles between bonds in the first coordination spheres of a set of atoms

This action ncan be used to calculate functions, g, such as:

f(x)=ijks(rij)s(rjk)g(θijk)

where θijk is the angle between the vector connecting atom i and and j and the vector connecting atom j and atom k and where s(r) is a switching function. The switching functions in the expression above ensure that we can calculate all the angles in the first coordination spheres of an atom using an input like the one shown below:

Click on the labels of the actions for more information on what each action computes
tested on2.11
c1: COORD_ANGLESCalculate functions of the distribution of angles between bonds in the first coordination spheres of a set of atoms This action is a shortcut. More details ...
  CATOMSall the angles between the bonds that radiate out from these central atom are computed=1 GROUPa list of angls between pairs of bonds connecting one of the atoms specified using the CATOM command and two of the atoms specified here are computed=2-100 SWITCHthe switching function specifies that only those bonds that have a length that is less than a certain threshold are considered={RATIONAL R_0=1.0} SUM calculate the sum of all the quantities
...
PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=c1.sum FILEthe name of the file on which to output these quantities=colvar

The input above will output the sum of all the angles in the first coordination sphere.

Syntax

The following table describes the keywords and options that can be used with this action

Keyword Type Default Description
CATOMS input none all the angles between the bonds that radiate out from these central atom are computed
GROUP input none a list of angls between pairs of bonds connecting one of the atoms specified using the CATOM command and two of the atoms specified here are computed
SWITCH compulsory none 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.
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.
HISTOGRAM optional not used calculate a discretized histogram of the distribution of values
SUM optional false calculate the sum of all the quantities
MEAN optional false calculate the mean of all the quantities