Class to manage a PBC bond, i.e. a long bond connecting two real atoms
on opposite sides of a unit cell that is used in lieu of the bond between
the real and image atoms.
|
__init__(self,
atom1,
atom2,
order,
also_reg_bond)
Create an instance. |
|
|
str
|
__repr__(self)
Define a class representation. |
|
|
|
setDeltasToNeighboringCells(self,
atom1_vec,
atom2_vec,
spanning_vectors)
Set two dictionaries, one for moving to neighboring cells ahead and
one for moving behind. |
|
|
tuple
|
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. |
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|