public static IReaction getRelevantReaction(IChemModel chemModel, IAtom atom) { IReaction reaction = null; if (chemModel.SetOfReactions != null) { ISetOfReactions reactionSet = chemModel.SetOfReactions; reaction = SetOfReactionsManipulator.getRelevantReaction(reactionSet, atom); } return(reaction); }