Create bonds


This modifier generate bonds between pairs of particles using a distance-based cutoff criterion.

To visualize the bonds, the modifier automatically creates a new bonds visual element, which renders the bonds as cylinders in between the particles.

The modifier provides two modes of operation:

Uniform cutoff radius

A single cutoff radius is used to create bonds between pairs of particles, irrespective of their type.

Pair-wise cutoff radii

This mode gives you more control over which particle types get connected by bonds. The table lists all pair-wise combinations of particle types defined in your system. Enter a cutoff distance in the third column to create bonds between pairs of particles of the given types. Note that this mode is only available if particle types have been defined, i.e. if the Particle Type particle property exists.

The Suppress inter-molecular bonds option restricts generation of bonds to pairs of particles that belong to the same molecule, i.e. which have matching values of the Molecule Identifier property. If the Molecule Identifier property is not defined, this option has no effect.

The modifier allows you to specify a lower cutoff value. It effectively restricts the generation of bonds to pairs of particles having a separation within the range given by the lower and the upper cutoff.

Technical notes

OVITO stores a periodic shift vector with every generated bond. This shift vector specifies whether the bond crosses a periodic boundary of the simulation cell. The shift vector of a bond that does not cross a periodic boundary is (0,0,0). A bond that crosses a periodic cell boundary in the positive X direction, for instance, has a shift vector of (1,0,0) and will be visualized as two separate half bonds, one on either side of the cell.

See also

Compute bond lengths modifier
CreateBondsModifier (Python API)