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

Method validate

test/python/test_reaction.py:1714–1716  ·  view source on GitHub ↗
(self, equation, soln)

Source from the content-addressed store, hash-verified

1712 params["A"] = self.A
1713
1714 def validate(self, equation, soln):
1715 if np.isnan(self.A):
1716 raise ValueError("'A' is NaN")
1717
1718 def eval(self, data):
1719 if self.eval_error:

Callers 1

TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected