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::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in build/lib/libcantera_shared.so.3
1# Cantera::InputFileError::InputFileError<unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Cantera::AnyBase const&, Cantera::AnyBase const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in build/lib/libcantera_shared.so.3
2# Cantera::Kinetics::checkDuplicates(bool, bool) in build/lib/libcantera_shared.so.3
3# Cantera::YamlWriter::toYamlString[abi:cxx11]() const in build/lib/libcantera_shared.so.3
4# 0x00007F4260B48DF6 in /home/runner/work/cantera/cantera/test/python/../../build/python/cantera/_cantera.cpython-312-x86_64-linux-gnu.so
5# PyObject_VectorcallMethod in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
6# 0x00007F4260AA99C5 in /home/runner/work/cantera/cantera/test/python/../../build/python/cantera/_cantera.cpython-312-x86_64-linux-gnu.so
7# PyObject_Vectorcall in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
8# 0x00007F4263B86F0A in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
9# 0x00007F4263C0FC94 in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
10# 0x00007F4263B8752F in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
11# _PyObject_Call_Prepend in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
12# 0x00007F4263CBD132 in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
13# _PyObject_MakeTpCall in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
14# 0x00007F4263B86F0A in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
15# _PyObject_Call_Prepend in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
16# 0x00007F4263CBD132 in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
17# PyObject_Call in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
18# 0x00007F4263B8752F in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
19# _PyObject_Call_Prepend in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
*******************************************************************************
|
|
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::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in build/lib/libcantera_shared.so.3
1# Cantera::InputFileError::InputFileError<unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Cantera::AnyBase const&, Cantera::AnyBase const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in build/lib/libcantera_shared.so.3
2# Cantera::Kinetics::checkDuplicates(bool, bool) in build/lib/libcantera_shared.so.3
3# Cantera::YamlWriter::toYamlString[abi:cxx11]() const in build/lib/libcantera_shared.so.3
4# 0x00007F4260B48DF6 in /home/runner/work/cantera/cantera/test/python/../../build/python/cantera/_cantera.cpython-312-x86_64-linux-gnu.so
5# PyObject_VectorcallMethod in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
6# 0x00007F4260AA99C5 in /home/runner/work/cantera/cantera/test/python/../../build/python/cantera/_cantera.cpython-312-x86_64-linux-gnu.so
7# PyObject_Vectorcall in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
8# 0x00007F4263B86F0A in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
9# 0x00007F4263C0FC94 in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
10# 0x00007F4263B8752F in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
11# _PyObject_Call_Prepend in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
12# 0x00007F4263CBD132 in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
13# _PyObject_MakeTpCall in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
14# 0x00007F4263B86F0A in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
15# _PyObject_Call_Prepend in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
16# 0x00007F4263CBD132 in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
17# PyObject_Call in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
18# 0x00007F4263B8752F in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
19# _PyObject_Call_Prepend in /opt/hostedtoolcache/Python/3.12.11/x64/lib/libpython3.12.so.1.0
*******************************************************************************
|
Loading