\(\renewcommand{\AA}{\text{Å}}\)

bond_style zero command

Syntax

bond_style zero keyword
  • zero or more keywords may be appended

  • keyword = nocoeff

Examples

bond_style zero
bond_style zero nocoeff
bond_coeff *
bond_coeff * 2.14

Description

Using an bond style of zero means bond forces and energies are not computed, but the geometry of bond pairs is still accessible to other commands.

As an example, the compute bond/local command can be used to compute distances for the list of pairs of bond atoms listed in the data file read by the read_data command. If no bond style is defined, this command cannot be used.

The optional nocoeff flag allows to read data files with a BondCoeff section for any bond style. Similarly, any bond_coeff commands will only be checked for the bond type number and the rest ignored.

Note that the bond_coeff command must be used for all bond types. If specified, there can be only one value, which is going to be used to assign an equilibrium distance, e.g. for use with fix shake.

Restrictions

none

Default

none