stk.OneOneReaction
- class stk.OneOneReaction(functional_group1, functional_group2, bond_order, periodicity)[source]
Bases:
ReactionA reaction between two functional groups, each with 1 bonder atom.
The reaction creates a bond between the bonder atoms, and deletes any deleter atoms.
Initialize a
OneOneReactioninstance.- Parameters:
functional_group1 (
GenericFunctionalGroup) – The first functional group in the reaction.functional_group2 (
GenericFunctionalGroup) – The second functional group in the reaction.bond_order (
int) – The bond order of the bond created by the reaction.periodicity (
tupleofint) – The periodicity of the bond created by the reaction.
Methods
Get the result of carrying out the reaction.
- get_result()
Get the result of carrying out the reaction.
- Returns:
Holds the results of the reaction.
- Return type: