Limit Python exports #6492
Annotations
2 warnings
|
Run Python tests:
test/python/test_reaction.py#L73
Kinetics::checkDuplicates:
*******************************************************************************
InputFileError thrown by Kinetics::checkDuplicates:
Error on lines 10 and 12 of input string:
Undeclared duplicate third body reactions with a common third body detected.
Add the field 'explicit-third-body-duplicates: mark-duplicate' or
'explicit-third-body-duplicates: modify-efficiency' to the YAML phase entry
to choose how these reactions should be handled and suppress this warning.
Reaction 1: H + O2 + M <=> HO2 + M
Reaction 2: H + O2 + H2O <=> HO2 + H2O
| Line |
| 5 | kinetics: bulk
| 6 |
| 7 | species: [{gri30.yaml/species: all}]
| 8 |
| 9 | reactions:
> 10 > - equation: H + O2 + H2O <=> HO2 + H2O
^
| 11 | rate-constant: {A: 1.126e+19, b: -0.76, Ea: 0.0}
> 12 > - equation: H + O2 + M <=> HO2 + M
^
| 13 | rate-constant: {A: 1.126e+19, b: -0.76, Ea: 0.0}
| 14 | default-efficiency: 0
| 15 | efficiencies: {H2O: 1}
-------------------------------------------------------------------------------
0# Cantera::CanteraError::CanteraError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in /Users/runner/work/cantera/cantera/build/lib/libcantera_shared.3.2.0.dylib
1# Cantera::InputFileError::InputFileError<unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, Cantera::AnyBase const&, Cantera::AnyBase const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned long const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned long const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in /Users/runner/work/cantera/cantera/build/lib/libcantera_shared.3.2.0.dylib
2# Cantera::Kinetics::checkDuplicates(bool, bool) in /Users/runner/work/cantera/cantera/build/lib/libcantera_shared.3.2.0.dylib
3# Cantera::YamlWriter::toYamlString() const in /Users/runner/work/cantera/cantera/build/lib/libcantera_shared.3.2.0.dylib
4# __pyx_pw_7cantera_10yamlwriter_10YamlWriter_9to_string(_object*, _object* const*, long, _object*) in /Users/runner/work/cantera/cantera/build/python/cantera/_cantera.cpython-312-darwin.so
5# PyObject_VectorcallMethod in /Library/Frameworks/Python.framework/Versions/3.12/Python
6# __pyx_pw_7cantera_12solutionbase_13_SolutionBase_21write_yaml(_object*, _object* const*, long, _object*) in /Users/runner/work/cantera/cantera/build/python/cantera/_cantera.cpython-312-darwin.so
7# _PyEval_EvalFrameDefault in /Library/Frameworks/Python.framework/Versions/3.12/Python
8# method_vectorcall in /Library/Frameworks/Python.framework/Versions/3.12/Python
9# _PyEval_EvalFrameDefault in /Library/Frameworks/Python.framework/Versions/3.12/Python
10# _PyObject_FastCallDictTstate in /Library/Frameworks/Python.framework/Versions/3.12/Python
11# slot_tp_call in /Library/Frameworks/Python.framework/Versions/3.12/Python
12# _PyObject_MakeTpCall in /Library/Frameworks/Python.framework/Versions/3.12/Python
13# _PyEval_EvalFrameDefault in /Library/Frameworks/Python.framework/Versions/3.12/Python
14# _PyObject_FastCallDictTstate in /Library/Frameworks/Python.framework/Versions/3.12/Python
15# slot_tp_call in /Library/Frameworks/Python.framework/Versions/3.12/Python
16# _PyObject_Call in /Library/Frameworks/Python.framework/Versions/3.12/Python
17# _PyEval_EvalFrameDefault in /Library/Frameworks/Python.framework/Versions/3.12/Python
18# _PyObject_FastCallDictTstate in /Library/Frameworks/Python.framework/Versions/3.12/Python
19# slot_tp_call in /Library/Frameworks/Python.framework/Versions/3.12/Python
********************************************
|
|
Run Python tests:
test/python/test_reaction.py#L73
Kinetics::checkDuplicates:
*******************************************************************************
InputFileError thrown by Kinetics::checkDuplicates:
Error on lines 10 and 12 of input string:
Undeclared duplicate third body reactions with a common third body detected.
Add the field 'explicit-third-body-duplicates: mark-duplicate' or
'explicit-third-body-duplicates: modify-efficiency' to the YAML phase entry
to choose how these reactions should be handled and suppress this warning.
Reaction 1: H + O2 + M <=> HO2 + M
Reaction 2: H + O2 + H2O <=> HO2 + H2O
| Line |
| 5 | kinetics: bulk
| 6 |
| 7 | species: [{gri30.yaml/species: all}]
| 8 |
| 9 | reactions:
> 10 > - equation: H + O2 + H2O <=> HO2 + H2O
^
| 11 | rate-constant: {A: 1.126e+19, b: -0.76, Ea: 0.0}
> 12 > - equation: H + O2 + M <=> HO2 + M
^
| 13 | rate-constant: {A: 1.126e+19, b: -0.76, Ea: 0.0}
| 14 | default-efficiency: 0
| 15 | efficiencies: {H2O: 1}
-------------------------------------------------------------------------------
0# Cantera::CanteraError::CanteraError(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in /Users/runner/work/cantera/cantera/build/lib/libcantera_shared.3.2.0.dylib
1# Cantera::InputFileError::InputFileError<unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, Cantera::AnyBase const&, Cantera::AnyBase const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned long const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned long const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) in /Users/runner/work/cantera/cantera/build/lib/libcantera_shared.3.2.0.dylib
2# Cantera::Kinetics::checkDuplicates(bool, bool) in /Users/runner/work/cantera/cantera/build/lib/libcantera_shared.3.2.0.dylib
3# Cantera::YamlWriter::toYamlString() const in /Users/runner/work/cantera/cantera/build/lib/libcantera_shared.3.2.0.dylib
4# __pyx_pw_7cantera_10yamlwriter_10YamlWriter_9to_string(_object*, _object* const*, long, _object*) in /Users/runner/work/cantera/cantera/build/python/cantera/_cantera.cpython-312-darwin.so
5# PyObject_VectorcallMethod in /Library/Frameworks/Python.framework/Versions/3.12/Python
6# __pyx_pw_7cantera_12solutionbase_13_SolutionBase_21write_yaml(_object*, _object* const*, long, _object*) in /Users/runner/work/cantera/cantera/build/python/cantera/_cantera.cpython-312-darwin.so
7# _PyEval_EvalFrameDefault in /Library/Frameworks/Python.framework/Versions/3.12/Python
8# method_vectorcall in /Library/Frameworks/Python.framework/Versions/3.12/Python
9# _PyEval_EvalFrameDefault in /Library/Frameworks/Python.framework/Versions/3.12/Python
10# _PyObject_FastCallDictTstate in /Library/Frameworks/Python.framework/Versions/3.12/Python
11# slot_tp_call in /Library/Frameworks/Python.framework/Versions/3.12/Python
12# _PyObject_MakeTpCall in /Library/Frameworks/Python.framework/Versions/3.12/Python
13# _PyEval_EvalFrameDefault in /Library/Frameworks/Python.framework/Versions/3.12/Python
14# _PyObject_FastCallDictTstate in /Library/Frameworks/Python.framework/Versions/3.12/Python
15# slot_tp_call in /Library/Frameworks/Python.framework/Versions/3.12/Python
16# _PyObject_Call in /Library/Frameworks/Python.framework/Versions/3.12/Python
17# _PyEval_EvalFrameDefault in /Library/Frameworks/Python.framework/Versions/3.12/Python
18# _PyObject_FastCallDictTstate in /Library/Frameworks/Python.framework/Versions/3.12/Python
19# slot_tp_call in /Library/Frameworks/Python.framework/Versions/3.12/Python
********************************************
|
Loading