Skip to content

Commit

Permalink
Don't check collision limit violations for surface reactions.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwest committed Feb 6, 2019
1 parent 7a2970f commit 13cdfb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rmgpy/rmg/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,9 @@ def check_model(self):
violators = []
num_rxn_violators = 0
for rxn in self.reactionModel.core.reactions:
if rxn.isSurfaceReaction():
# Don't check collision limits for surface reactions.
continue
violator_list = rxn.check_collision_limit_violation(t_min=self.Tmin, t_max=self.Tmax,
p_min=self.Pmin, p_max=self.Pmax)
if violator_list:
Expand Down

0 comments on commit 13cdfb2

Please sign in to comment.