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

Method from_empty

test/python/test_reaction.py:1117–1121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1115 return self.finalize(rxn)
1116
1117 def from_empty(self):
1118 # create reaction object with an "empty" rate of the correct type
1119 rxn = ct.Reaction(equation=self._equation,
1120 rate=self._rate_cls(), third_body=self._3rd_body)
1121 return self.finalize(rxn)
1122
1123 def from_rate(self, rate):
1124 # create reaction object from dictionary

Callers 3

test_no_rateMethod · 0.95
test_replace_rateMethod · 0.95
test_no_rateMethod · 0.80

Calls 2

finalizeMethod · 0.95
ReactionMethod · 0.45

Tested by

no test coverage detected