getNeighborPBCBond(self,
cell_indices,
ncella,
ncellb,
ncellc,
cell_size,
cell_delta,
tail_head)
|
|
Return a (tail, head) ordered tuple of atom indices for the
neighboring PBC bond in the cell given by the cell delta. If this cell is
the first or last cell then it will wrap around to the ending or
beginning cell, respectively.
- Parameters:
cell_indices (tuple) - a triple of cell indices
ncella (int) - the number of cells along a
ncellb (int) - the number of cells along b
ncellc (int) - the number of cells along c
cell_size (int) - the number of atoms in a cell
cell_delta (tuple) - a triple of cell deltas which provide the neighboring cells
location
tail_head (tuple) - provides the tail and head atom indices for this PBC bond given
the cell delta
- Returns: tuple
- atom indices for the neighboring PBC bond
|