pair_style zero command

Syntax

pair_style zero cutoff
  • zero = style name of this pair style cutoff = global cutoff (distance units)

Examples

pair_style zero
pair_coeff * *
pair_coeff 1 2 3.0

Description

Define a global cutoff length for the purpose of building a neighbor list and acquiring ghost atoms, but do not compute any pairwise forces or energies.

This can be useful for fixes or computes which require a neighbor list to enumerate pairs of atoms within some cutoff distance, but when pairwise forces are not otherwise needed. Examples are the fix bond/create, compute rdf, compute voronoi/atom commands.

Note that the comm_modify cutoff command can be used to insure communication of ghost atoms even when a pair style is not defined, but it will not trigger neighbor list generation.

The following coefficients must be defined for each pair of atoms types via the pair_coeff command as in the examples above, or in the data file or restart files read by the read_data or read_restart commands, or by mixing as described below:

  • cutoff (distance units)

This coefficient is optional. If not specified, the global cutoff specified in the pair_style command is used.


Mixing, shift, table, tail correction, restart, rRESPA info:

The cutoff distance for this pair style can be mixed. The default mix value is geometric. See the “pair_modify” command for details.

This pair style does not support the pair_modify shift, table, and tail options.

This pair style writes its information to binary restart files, so pair_style and pair_coeff commands do not need to be specified in an input script that reads a restart file.

This pair style can only be used via the pair keyword of the run_style respa command. It does not support the inner, middle, outer keywords.


Restrictions

none