(self, rate)
| 1755 | _rc_units = ct.Units("m^3 / kmol / s") |
| 1756 | |
| 1757 | def eval_rate(self, rate): |
| 1758 | gas = ct.Solution(yaml=self._phase_def) |
| 1759 | gas.TDY = self.soln.TDY |
| 1760 | gas.add_reaction(ct.Reaction(equation=self._equation, rate=rate)) |
| 1761 | return gas.forward_rate_constants[0] |
| 1762 | |
| 1763 | def test_no_rate(self): |
| 1764 | # Slightly different from the base case since we normally check evaluation via |
no test coverage detected