Syntax:
compute ID group-ID coord/atom cutoff
Examples:
compute 1 all coord/atom 2.0
Description:
Define a computation that calculates the coordination number for each atom in a group.
The coordination number is defined as the number of neighbor atoms within the specified cutoff distance from the central atom. Atoms not in the group are included in the coordination number of atoms in the group.
The neighbor list needed to compute this quantity is constructed each time the calculation is performed (i.e. each time a snapshot of atoms is dumped). Thus it can be inefficient to compute/dump this quantity too frequently or to have multiple compute/dump commands, each of a coord/atom style.
Restrictions: none
Related commands: none
Default: none