Commit Graph

10208 Commits

Author SHA1 Message Date
Ingmar Schoegl
a3991c6676 [Python] Deprecate h5py support 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
527f88b47b [Python] Remove OrderedDict
As of Python 3.7, dictionaries preserve order of insertion
2023-04-09 10:09:10 -04:00
Ingmar Schoegl
4b7bf2faea [Python] Prevent python_to_anyvalue conversion failures 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
afc9931d3b [Python] Deprecate FlameBase.solution 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
713c8570cb [Python] Convert FutureWarnings to DeprecationWarnings 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
1a3134567a [Python] Deprecate unused FlameBase.other_components 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
f6b6f4080a [Python] Deprecate obsolete 1D 'settings' properties 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
91c1684bde [Python] Update FlameBase/SolutionArray interfaces
Deprecate obsolete Python route and associated helper functions.
2023-04-09 10:09:10 -04:00
Ingmar Schoegl
241713f611 [oneD] Update Domain1D/SolutionArray interface
Rename Domain1D::restore to Domain1D::fromArray
Introduce alternative Domain1D::asArray/fromArray versions
2023-04-09 10:09:10 -04:00
Ingmar Schoegl
5541f6065e [oneD] Share data vectors as Domain1D::m_data 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
b735e75e8e [oneD] Replace Sim1D::m_x by OneDim::m_data 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
96ba55742e [unittest] Add gtest for SolutionArray::normalize 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
c12d94ee99 [SolutionArray] Implement SolutionArray::normalize 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
9b872641a7 [Python] Add ThermoPhase._native_mode 2023-04-09 10:09:10 -04:00
Ingmar Schoegl
124048f87b [Thermo] Add Phase::nativeMode / fix glitch
Prevent automatic alphabetic ordering of states in
SolutionArray::componentNames
2023-04-09 10:09:10 -04:00
g3bk47
4560e44ec6 [Python] Modify solution strategy for counterflow flames 2023-04-05 12:06:43 -05:00
Ingmar Schoegl
5e040312f7 [SCons] Safeguard against untested Python versions 2023-04-01 14:19:52 -05:00
Ingmar Schoegl
8b5a0e9fb0 [clib] Fix compiler warning 2023-03-21 08:59:17 -05:00
Ingmar Schoegl
3ea251020c [samples] Update file IO 2023-03-21 08:59:17 -05:00
Ingmar Schoegl
b7717ac464 [CI] Update pytest and google tests 2023-03-21 08:59:17 -05:00
Ingmar Schoegl
30d21073cc [Python] Add SolutionArray tweaks to API 2023-03-21 08:59:17 -05:00
Ingmar Schoegl
4406110573 [1D] Deprecate loglevel in save/restore 2023-03-21 08:59:17 -05:00
Ingmar Schoegl
5841dcda84 [SolutionArray] Do no return group name 2023-03-21 08:59:17 -05:00
Ingmar Schoegl
fe807d5986 [FileIO] Add 'overwrite' option to save routines 2023-03-21 08:59:17 -05:00
g3bk47
243fac5acf [Python] Clarify limitations of cascade model 2023-03-20 18:30:40 -05:00
g3bk47
38025a155e [Python] porous burner: address review 2023-03-20 18:30:40 -05:00
ThorstenZirwes
128e1c0efb Fix typos in samples/python/reactors/PorousMediaBurner.py
Co-authored-by: Ray Speth <yarmond@gmail.com>
2023-03-20 18:30:40 -05:00
ThorstenZirwes
c185d9afe4 Fix typos in data/YZA.yaml
Co-authored-by: Ray Speth <yarmond@gmail.com>
2023-03-20 18:30:40 -05:00
g3bk47
25ad274cbf Add author 2023-03-20 18:30:40 -05:00
g3bk47
f78717fe2e Add example for porous media burner with extensible reactors
Co-authored-by: Guillaume Vignat <gvignat@stanford.edu>
2023-03-20 18:30:40 -05:00
ThorstenZirwes
03bbc5c469 [Python] fix typo in sample 2023-03-20 13:50:15 -05:00
Ray Speth
3cbe8aa1a6 [CI] Add CI tests that run only after a PR is merged to main
Currently used for testing pre-release versions of Cython
2023-03-19 16:32:38 -05:00
Ray Speth
4ea0f4ece8 [Python] SolutionArray and Quantity block add_species 2023-03-19 16:32:38 -05:00
Ray Speth
f8c6d9d1a2 Improve documentation of _SolutionBase._references 2023-03-19 16:32:38 -05:00
Ray Speth
c281601c2c Convert C++ NotImplementedError to Python NotImplementedError 2023-03-19 16:32:38 -05:00
Ray Speth
11a0406216 Add support for Cython 3.0.0b1 2023-03-19 16:32:38 -05:00
Ray Speth
b71d3cd59c Simplify Python extension initialization
Let Cython handle the complexity of loading the extension module after
Python has already been initialized. In the case of a non-Python main
program, all we have to do is initialize Python and import the Cantera
Python module.
2023-03-19 16:32:38 -05:00
Jongyoon Bae
fbfd93f48f Add more description in phase.rst 2023-03-18 17:25:00 -04:00
Jongyoon Bae
50466566bb Improve documentation in CoverageDependentSurfPhase.h 2023-03-18 17:25:00 -04:00
Jongyoon Bae
c9a0441c54 Restructure entries in species.rst 2023-03-18 17:25:00 -04:00
Jongyoon Bae
aeca84756f Bundle up repeated entries in species.rst 2023-03-18 17:25:00 -04:00
Jongyoon Bae
a3c19cfd9a Update coefficient notations in the documentation 2023-03-18 17:25:00 -04:00
Jongyoon Bae
236da1a905 Remove unit entry from species.rst 2023-03-18 17:25:00 -04:00
Jongyoon Bae
de20b1a2b5 Add header on test/data/yaml 2023-03-18 17:25:00 -04:00
Jongyoon Bae
a2d6a92374 Add header on data/covdepsurf.yaml 2023-03-18 17:25:00 -04:00
Jongyoon Bae
0d5b540619 Replace keywords and cantera version 2023-03-18 17:25:00 -04:00
Jongyoon Bae
82056133e1 Compare all species reference thermo properties 2023-03-18 17:25:00 -04:00
Jongyoon Bae
1d66901af0 Replace dynamic_cast with newInterface 2023-03-18 17:25:00 -04:00
Jongyoon Bae
045908ced5 Remove duplicate tests for CoverageDependentSurfPhase 2023-03-18 17:25:00 -04:00
Jongyoon Bae
dab9afe6d9 Encapsulate parameter import routines into constructors 2023-03-18 17:25:00 -04:00