Action: POSITION

Module colvar
Description Usage
Calculate the components of the position of an atom or atoms. used in 2 tutorialsused in 30 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
x scalar/vector default the x-component of the atom position
y scalar/vector default the y-component of the atom position
z scalar/vector default the z-component of the atom position
a scalar/vector SCALED_COMPONENTS the normalized projection on the first lattice vector of the atom position
b scalar/vector SCALED_COMPONENTS the normalized projection on the second lattice vector of the atom position
c scalar/vector SCALED_COMPONENTS the normalized projection on the third lattice vector of the atom position

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
ATOM atoms the atom number
ATOMS atoms the atom numbers that you would like to use the positions of

Further details and examples

Text from manual goes here

Syntax

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

Keyword Type Default Description
ATOM input none the atom number
ATOMS input none the atom numbers that you would like to use the positions of
NUMERICAL_DERIVATIVES optional false calculate the derivatives for these quantities numerically
NOPBC optional false ignore the periodic boundary conditions when calculating distances
WHOLEMOLECULES optional false if this is a vector of positions do you want to make the positions into a whole before
SCALED_COMPONENTS optional false calculate the a, b and c scaled components of the position separately and store them as label