BondLocalAccessBase

class hoomd.data.BondLocalAccessBase(state)

Directly access bond data in the simulation state.

typeid

The integer type of a bond.

Type:

(N_bonds) HOOMDArray or HOOMDGPUArray of int

members

The tags of particles in a bond.

Type:

(N_bonds, 2) HOOMDArray or HOOMDGPUArray of int

tag

The bond tags. MPI domain migration reorders bonds in memory. The bond tag identifies each bond in the order it existed in the initial configuration.

Type:

(N_bonds) HOOMDArray or HOOMDGPUArray of int

rtag

the The bond reverse tags. For a given bond tag tag, i = bonds.rtag[tag] is the array index holding that bond.

Type:

(N_bonds_global) HOOMDArray or HOOMDGPUArray of int