Skip to content

Commit

Permalink
[Test] Tighten integration tolerances to get repeatable test results
Browse files Browse the repository at this point in the history
The test_ignition_delay_sensitivity test needs tighter intergrator tolerances
on the sensitivity coefficients in order to give results that reliably match
the finite difference approach on all platforms.
  • Loading branch information
speth committed Jul 4, 2020
1 parent d20ce60 commit e8a6fac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interfaces/cython/cantera/test/test_reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1451,6 +1451,7 @@ def setup_ignition_delay(self):
gas.set_equivalence_ratio(0.4, 'H2', 'O2:1.0, AR:4.0')
r = ct.IdealGasReactor(gas)
net = ct.ReactorNet([r])
net.rtol_sensitivity = 1e-5
return gas, r, net

def calc_tig(self, species, dH):
Expand Down

0 comments on commit e8a6fac

Please sign in to comment.