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

Method __init__

test/python/test_reactor.py:1646–1649  ·  view source on GitHub ↗
(self, *args, recoverable, **kwargs)

Source from the content-addressed store, hash-verified

1644@ct.extension(name="fail-rate", data=FailRateData)
1645class FailRate(ct.ExtensibleRate):
1646 def __init__(self, *args, recoverable, **kwargs):
1647 super().__init__(*args, **kwargs)
1648 self.recoverable = recoverable
1649 self.count = 0
1650
1651 def eval(self, data):
1652 if data.fail:

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected