Skip to content

distance

Define a center-of-mass distance between two groups of atoms This command can appear in the global context.

Options

atoms

Atoms in two groups (1-indexed).

This option is mandatory.

  • The type is ([int], [int])
  • There is no default value.
  • The value must be positive
value

Reference distance between the center-of-masses of two groups. If not supplied, the starting distance will be used.

  • The type is quantity
  • There is no default value.