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

Method eval

test/python/test_reaction.py:1718–1721  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

1716 raise ValueError("'A' is NaN")
1717
1718 def eval(self, data):
1719 if self.eval_error:
1720 raise ValueError("Error evaluating rate")
1721 return self.A * data.T**2.7 * np.exp(-3150.15428/data.T)
1722
1723
1724@pytest.fixture(scope='function')

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected