SpinDry
Bond
Modules:
Bases: object
object
Bond between two atoms.
id (int) – ID to be assigned to bond.
atom_ids (tuple[int, int]) – IDs of atom 1 and atom 2 in bond, where atom 1 is always the smaller number and the IDs cannot be the same.
Methods
get_atom1_id
Get ID of atom 1 in bond.
get_atom2_id
Get ID of atom 2 in bond.
get_id
Get bond ID.
Attributes
id
atom_ids
int