Shortcut: TETRA_RADIAL

Module symfunc
Description Usage
Calculate the radial tetra CV used in 0 tutorialsused in 0 eggs
output value type
the value of the radial tetrahedrality parameter for each of the input atoms 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
SPECIES atoms the list of atoms for which the symmetry function is being calculated and the atoms that can be in the environments
SPECIESA atoms the list of atoms for which the symmetry function is being calculated
SPECIESB atoms the list of atoms that can be in the environments of each of the atoms for which the symmetry function is being calculated

Further details and examples

Calculate the radial tetra CV

This shortcut calculates a symmetry function. The particular function that is being evaluated for the coordination sphere here is as follows:

si=14j=1r2ijzi4j=1rij12z2iwherezi=144j=1rij

In this expression the 4 atoms in the sums over j are the four atoms that are nearest to atom i and rij is the distance between atoms i and j. The CV is large if the four atoms nearest atom i are arranged on the vertices of a regular tetrahedron and small otherwise. The following example shows how you can use this action to measure the degree of tetrahedral order in a system.

Click on the labels of the actions for more information on what each action computes
tested on2.11
# Calculate a vector that contains 64 values for the symmetry function.
# Sum the elements of the vector and calculate the mean value on the atoms from this sum.
acv: TETRA_RADIALCalculate the radial tetra CV This action is a shortcut and it has hidden defaults. More details SPECIESthe list of atoms for which the symmetry function is being calculated and the atoms that can be in the environments=1-64 SUM calculate the sum of all the quantities MEAN calculate the mean of all the quantities
# Print out the positions of the 64 atoms for which the symmetry function was calculated
# to an xyz file along with the values of the symmetry function
DUMPATOMSDump selected atoms on a file. More details ATOMSthe atom indices whose positions you would like to print out=1-64 ARGthe labels of vectors that should be output in the xyz file=acv FILEfile on which to output coordinates; extension is automatically detected=mcolv.xyz
# Print out the average value of the symmetry function and the sum of all the symmetry functions
PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=acv_sum,acv_mean 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: - A. D. White, G. A. Voth, Efficient and Minimal Method to Bias Molecular Simulations with Experimental Data. Journal of Chemical Theory and Computation. 10, 3023–3030 (2014)

Syntax

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

Keyword Type Default Description
SPECIES input none the list of atoms for which the symmetry function is being calculated and the atoms that can be in the environments
SPECIESA input none the list of atoms for which the symmetry function is being calculated
SPECIESB input none the list of atoms that can be in the environments of each of the atoms for which the symmetry function is being calculated
CUTOFF compulsory -1 ignore distances that have a value larger than this cutoff
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
NOPBC optional false ignore the periodic boundary conditions when calculating distances