Commit Graph

11090 Commits

Author SHA1 Message Date
Ray Speth
e2c6d7f640 [Python] Avoid redundant docstrings for ReactorNet-drawing functions 2024-06-21 20:17:45 +02:00
Bryan Weber
0a446724b6 Fix the warning from setting Py_UnbufferedStdioFlag 2024-06-21 13:57:03 -04:00
Ray Speth
f4a88d2b49 [CI] Explicitly test NumPy 1.x compatibility 2024-06-19 10:27:10 -04:00
Ray Speth
4d509b5423 [Python] Fix Numpy 2.0 compatibility issues 2024-06-19 10:27:10 -04:00
Ray Speth
9f48b07c3d [CI] Exclude test code from coverage report 2024-06-12 09:07:26 -04:00
Ray Speth
00e4214963 [CI] Migrate to micromamba to reduce CI overhead 2024-06-12 09:07:26 -04:00
Ray Speth
7c77cfe3f6 [SCons] Require separate run for 'sdist' target
Eliminates the confusing "python_sdist=yes" option

Resolves #1678
2024-06-12 09:07:26 -04:00
Ray Speth
e8cf8a2138 [SCons] Fix installation of data files in sdist
This was broken by the removal of the build/data directory in #1689.
2024-06-12 09:07:26 -04:00
Ray Speth
1b56a06cbb [Kinetics] Simplify input for extensible interface reactions
Fixes #1620
2024-06-11 22:25:21 -04:00
Ray Speth
5311183966 [Test] Add test for extensible interface reaction 2024-06-11 22:25:21 -04:00
Ray Speth
4565a55e40 [Examples] Fix use of deprecated pint unit formatter 2024-06-10 21:17:16 -05:00
Ray Speth
61ba170b2f [Test] Fix test order dependency in sticking reaction tests 2024-06-10 21:17:16 -05:00
Ray Speth
b9da544d1e [CI] Drop builds for VS toolsets removed from GitHub runner images
See https://github.com/actions/runner-images/issues/9701
2024-06-10 21:17:16 -05:00
Ray Speth
ebb0611d83 [CI] Make mamba less quiet
"-q" flag suppresses output of what package versions are being installed,
unlike the same flag for conda.
2024-06-10 21:17:16 -05:00
Ray Speth
4732a42a88 [Test] Tweak flame tests to run faster 2024-06-10 21:17:16 -05:00
Ray Speth
2ae654cec7 [Python/1D] Detect invalid boundary conditions for flame configurations
Fixes #1694
2024-06-10 21:17:16 -05:00
Ray Speth
c2ce9c49d9 [1D] Eliminate redundant calculation of stoich. mixture fraction 2024-06-10 21:17:16 -05:00
Ray Speth
da9e29ba7d [Python/1D] Disallow redundant grid specification
Fixes #1693
2024-06-10 21:17:16 -05:00
Ray Speth
add82cfe14 Ignore sample output file 2024-06-10 21:17:16 -05:00
Ray Speth
42e9c8434d [1D] Fix setting diffusion flame initial guess from known data
Fixes #1674
2024-06-10 21:17:16 -05:00
Ray Speth
4d6a3659be [Python] Handle potential exceptions propagating from callbacks
Resolves side-issue noted in #1680
2024-06-10 21:17:16 -05:00
Ray Speth
1a6f711795 [Transport] Handle empty string as transport model more consistently
The empty string / Python None object correspond to the 'none' transport
model, never to the 'default' transport model defined by the YAML file.

Resolves #1680
2024-06-10 21:17:16 -05:00
Ray Speth
d73266d708 [CI] Attempt to fix post-merge-tests 2024-06-10 21:17:16 -05:00
Ray Speth
3dc08153c2 [1D] Automatically adjust temperature bounds for low-temperature flames
Fixes #1684
2024-06-10 21:17:16 -05:00
Ray Speth
026c5c7075 [Matlab] Fix Kinetics.isReversible 2024-06-05 10:11:23 -04:00
Ray Speth
76322252e0 [CI] Update action versions to eliminate warnings about Node.js 16 2024-06-05 10:11:23 -04:00
Ray Speth
350d36eb38 [CI] Stop using deprecated macos-11 runner 2024-06-05 10:11:23 -04:00
Ray Speth
c260e7bcc1 [CI] Run Python tests in parallel 2024-06-05 10:11:23 -04:00
Ray Speth
6c113aef97 [CI] Compile test programs in parallel 2024-06-05 10:11:23 -04:00
Ray Speth
43b1fffe14 [SCons] Add commands for building (but not running) tests 2024-06-05 10:11:23 -04:00
Ray Speth
cd5d7a9e34 [CI] Use all available CPUs on GitHub-hosted runners 2024-06-05 10:11:23 -04:00
Ray Speth
3d6cc9477c [Doc] Describe requirements for adding Python classes in reST files. 2024-06-03 23:26:46 -04:00
Ray Speth
9d92ad2089 [Doc/Python] Add missing classes to Sphinx docs 2024-06-03 23:26:46 -04:00
Ray Speth
2a843601da [Doc/Python] Add explicit signatures for Cython class constructors
Sphinx is not able to read the signature for the init method of
Cython's cdef classes.

Fixes #1635
2024-06-03 23:26:46 -04:00
Ray Speth
079e442242 [Python] Make class FlowBase visible and add to Sphinx docs 2024-06-03 23:26:46 -04:00
Ray Speth
f214fa2af3 [Doc/CI] Pin sphinx and pydata theme dependencies for 3.1 release
Fixes #1692
2024-06-03 23:26:46 -04:00
Ray Speth
98b8fa63cc [SCons] Add option to skip running Sphinx Gallery examples 2024-06-03 23:26:46 -04:00
Ray Speth
47e7c1a2de [Matlab] Return 0 as reverse rate constant for irreversible reactions
This behavior is consistent with Python and the default behavior in C++
2024-06-03 23:26:22 -04:00
Ray Speth
529ed11918 [Matlab] Fix docstring for Kinetics.equilibriumConstants
The equilibrium constant is calculated regardless of whether the
reaction is marked as reversible. This is consistent with the
behavior of the Python and C++ interfaces.
2024-06-03 23:26:22 -04:00
Cory Kinney
1ed2b28bb1 yaml2ck: Implement undeclared third body test
- Converted species names to set comprehension, as suggested
- Added phase definition from original issue for test
- Implemented test to check that only the undeclared third body was omitted
- Temperature and pressure conditions used for kinetics check matched to GRI 3.0 test function
2024-06-03 17:34:26 -04:00
Cory Kinney
f8fdb8e508 yaml2ck: Check if third body is in species list
Does not write the third body efficiencies for species that are not in the solution's species list
Fixed #1683
2024-06-03 17:34:26 -04:00
Ray Speth
06b3500a31 [CI] Remove MSVC toolset 14.1 runs due to upstream image changes 2024-06-02 17:23:59 -04:00
Ray Speth
7c0acf4a8b Fix compatibility with Sphinx 7.3 and Sphinx Gallery 0.16 2024-06-02 17:23:59 -04:00
Ray Speth
5254a6bff6 [Doc] Add general tips for working with VS Code
Co-authored-by: Bryan W. Weber <bryan.w.weber@gmail.com>
2024-06-02 17:23:59 -04:00
Ray Speth
9c6f457c2a [Doc] Describe running PyTest tests through VS Code 2024-06-02 17:23:59 -04:00
Ray Speth
15cc2f6e02 [Doc] Describe setup for debugging through VS Code 2024-06-02 17:23:59 -04:00
Ray Speth
331601da20 [Doc] Describe steps for running and debugging tests 2024-06-02 17:23:59 -04:00
Ray Speth
1c89a9366c [Doc] Rework YAML reference landing page 2024-06-02 17:23:59 -04:00
Ray Speth
379ae509aa [Doc] Rework Python API landing page 2024-06-02 17:23:59 -04:00
Ray Speth
ec0fabef07 [Doc] Add a page on writing examples for Sphinx Gallery 2024-06-02 17:23:59 -04:00