Skip to content

Commit 100d740

Browse files
committed
Reduce whitespace in kinetics/falloff.pyx
1 parent d8b9314 commit 100d740

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

rmgpy/kinetics/falloff.pyx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,12 @@ cdef class Lindemann(PDepKineticsModel):
220220
self.arrheniusLow.change_rate(factor)
221221
self.arrheniusHigh.change_rate(factor)
222222

223-
224-
225223
def set_cantera_kinetics(self, ct_reaction, species_list):
226224
"""
227225
Sets the efficiencies and kinetics for a cantera reaction.
228226
"""
229227
import cantera as ct
230228
assert isinstance(ct_reaction.rate, ct.LindemannRate), "Must have a Cantera LindemannRate attribute"
231-
232229
ct_reaction.efficiencies = PDepKineticsModel.get_cantera_efficiencies(self, species_list)
233230
ct_reaction.rate = self.to_cantera_kinetics()
234231

@@ -400,11 +397,8 @@ cdef class Troe(PDepKineticsModel):
400397
for a cantera FalloffReaction.
401398
"""
402399
import cantera as ct
403-
404400
assert isinstance(ct_reaction.rate, ct.TroeRate), "Must have a Cantera TroeRate attribute"
405-
406401
ct_reaction.efficiencies = PDepKineticsModel.get_cantera_efficiencies(self, species_list)
407-
408402
ct_reaction.rate = self.to_cantera_kinetics()
409403

410404
def to_cantera_kinetics(self):
@@ -424,7 +418,3 @@ cdef class Troe(PDepKineticsModel):
424418
high = self.arrheniusHigh.to_cantera_kinetics(arrhenius_class=True)
425419
low = self.arrheniusLow.to_cantera_kinetics(arrhenius_class=True)
426420
return ct.TroeRate(high=high, low=low, falloff_coeffs=falloff)
427-
428-
429-
430-

0 commit comments

Comments
 (0)