Shortcut: GYRATION_TENSOR

Module colvar
Description Usage
Calculate the gyration tensor using a user specified vector of weights used in 0 tutorialsused in 0 eggs
output value type
the gyration tensor that was computed from the weights matrix

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
ATOMS atoms the group of atoms that you are calculating the Gyration Tensor for

Further details and examples

Calculate the gyration tensor using a user specified vector of weights

The elements of the 3×3 gyration tensor are defined as:

Gαβ=niwi(αiαCOM)(βiβCOM)niwi

where αi and βi can be the x, y or z coordinates of atom i and αCOM and βCOM can be the x, y or z components of the center, which is calculated using:

rCOM=niri winiwi

The following example shows how you can calculate and print the gyration tensor from the positions of the fist 10 atoms using PLUMED

Click on the labels of the actions for more information on what each action computes
tested on2.11
g: GYRATION_TENSORCalculate the gyration tensor using a user specified vector of weights This action is a shortcut. More details ATOMSthe group of atoms that you are calculating the Gyration Tensor for=1-10
PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=g FILEthe name of the file on which to output these quantities=colvar

The 9 elements of the gyration matrix will be output to the file colvar here.

Similar functionality to the functionality in the example above is used in the GYRATION shortcut. There is, however, no fast version of the GYRATION_TENSOR command in the way that there is a fast version of the GYRATION command that is used when the weights are all one or when the masses are used as the weights.

References

More information about how this action can be used is available in the following articles: - J. Vymětal, J. Vondrášek, Gyration- and Inertia-Tensor-Based Collective Coordinates for Metadynamics. Application on the Conformational Behavior of Polyalanine Peptides and Trp-Cage Folding. The Journal of Physical Chemistry A. 115, 11455–11465 (2011)

Syntax

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

Keyword Type Default Description
ATOMS input none the group of atoms that you are calculating the Gyration Tensor for
TYPE compulsory RADIUS The type of calculation relative to the Gyration Tensor you want to perform
NOPBC optional false ignore the periodic boundary conditions when calculating distances
WEIGHTS optional not used what weights should be used when calculating the center
PHASES optional false use trigonometric phases when computing position of center of mass
MASS optional false calculate the center of mass
MASS_WEIGHTED optional false set the masses of all the atoms equal to one
UNORMALIZED optional false do not divide by the sum of the weights