PairLocalAccessBase

class hoomd.data.PairLocalAccessBase(state)

Directly access special pair data in the simulation state.

typeid

The type of special pair.

Type:

(N_pairs) HOOMDArray or HOOMDGPUArray of float

members

the tags of particles in a special pair.

Type:

(N_pairs, 3) HOOMDArray or HOOMDGPUArray of int

tag

The special pair tags. MPI domain migration reorders special pairs in memory. The special pair tag identifies each special pair in the order it existed in the initial configuration.

Type:

(N_special_pairs) HOOMDArray or HOOMDGPUArray of int

rtag

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

Type:

(N_special_pairs_global) HOOMDArray or HOOMDGPUArray of int