MCPcopy Create free account
hub / github.com/Cantera/cantera / test_scientific

Method test_scientific

test/python/test_composite.py:387–391  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

385 self.check(arr, arr.info(rows=10, width=self.width), 11)
386
387 def test_scientific(self):
388 arr = ct.SolutionArray(self.gas, 20)
389 arr.set_equivalence_ratio(np.linspace(.5, 1.5, 20), "H2", "O2:1,N2:10")
390 arr.equilibrate("HP")
391 self.check(arr, arr.info(rows=7, width=self.width), 8)
392
393 def test_plus_minus_i(self):
394 arr = ct.SolutionArray(self.gas, 20,

Callers

nothing calls this directly

Calls 5

set_equivalence_ratioMethod · 0.95
equilibrateMethod · 0.95
checkMethod · 0.95
infoMethod · 0.95
SolutionArrayMethod · 0.80

Tested by

no test coverage detected