compute gyration/shape/chunk command
Syntax
compute ID group-ID gyration/shape/chunk compute-ID
ID, group-ID are documented in compute command
gyration/shape/chunk = style name of this compute command
compute-ID = ID of compute gyration/chunk command
Examples
compute 1 molecule gyration/shape/chunk pe
Description
Define a computation that calculates the eigenvalues of the gyration tensor and three shape parameters of multiple chunks of atoms. The computation includes all effects due to atoms passing through periodic boundaries.
The three computed shape parameters are the asphericity,
where
The tensor keyword must be specified in the compute gyration/chunk command.
Note
The coordinates of an atom contribute to the gyration tensor in “unwrapped” form, by using the image flags associated with each atom. See the dump custom command for a discussion of “unwrapped” coordinates. See the Atoms section of the read_data command for a discussion of image flags and how they are set for each atom. You can reset the image flags (e.g., to 0) before invoking this compute by using the set image command.
Output info
This compute calculates a global array with six columns, which can be accessed by indices 1–6. The first three columns are the eigenvalues of the gyration tensor followed by the asphericity, the acylindricity and the relative shape anisotropy. The computed values can be used by any command that uses global array values from a compute as input. See the Howto output page for an overview of LAMMPS output options.
The array calculated by this compute is
“intensive”. The first five columns will be in
distance
Restrictions
This compute is part of the EXTRA-COMPUTE package. It is only enabled if LAMMPS was built with that package. See the Build package page for more info.
Default
none
(Mattice) Mattice, Suter, Conformational Theory of Large Molecules, Wiley, New York, 1994.
(Theodorou) Theodorou, Suter, Macromolecules, 18, 1206 (1985).