Class to manage a collection of PBC bonds.
|
__init__(self,
cell_indices=None,
pbc_bonds_dict=None,
cell_size=None,
no_pbc_bonding=False,
only_pbc_bonds=False,
cov_offset=0.45)
Create an instance. |
|
|
|
setPBCBonds(self,
pbc_bonds_dict)
Create a dictionary of PBCBond objects from a dictionary containing
PBC bonds. |
|
|
|
updatePBCBondOrders(self,
astructure)
Update the bond orders in this instance given a structure with
updated PBC bond orders. |
|
|
str
|
__repr__(self)
Define a class representation. |
|
|
|
setDeltasToNeighboringCells(self,
astructure,
lattice_vectors)
For each PBC bond in this cell determine the cell deltas that are
needed to move ahead and behind to relevant neighboring cells. |
|
|
|
cleanUpPBCBonds(self,
astructure,
pairs,
delete)
Clean up the specified PBC bonds in the structure. |
|
|
PBCBonds
|
getOffsetPBCBonds(self,
cell_indices,
offset)
Return a PBCBonds instance for the provided cell indices in which the
atom indices have been offset by the given amount. |
|
|
|
connectToCells(self,
astructure,
ncella,
ncellb,
ncellc,
direction)
Connect the PBC bonds in this cell with those relevant neighboring
cells ahead of or behind this one so as to create real bonds from
pairs of PBC bonds or new PBC bonds. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|