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

Method __init__

test/python/test_reactor.py:3081–3085  ·  view source on GitHub ↗
(self, gas)

Source from the content-addressed store, hash-verified

3079 kH2 = self.gas.species_index("H2")
3080 class TestReactor(ct.ExtensibleIdealGasReactor):
3081 def __init__(self, gas):
3082 super().__init__(gas)
3083 self.neighbor = None
3084 self.h2coeff = 12 # mass transfer coeff
3085 self.p_coeff = 5 # expansion coeff
3086
3087 def after_update_connected(self, do_pressure):
3088 self.conc_H2 = self.thermo.concentrations[kH2]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected