Commit Graph

11125 Commits

Author SHA1 Message Date
Bryan Weber
feabf29a80 [CI] Bump Python pre-release build 2024-06-23 14:11:34 -04:00
Bryan Weber
4aaa4436e3 [SCons] Fix logic for NumPy API define with Cython 3.0 2024-06-23 14:11:34 -04:00
Bryan Weber
5f1ec8f75f [CI] Remove Conda and Windows MSI from packaging
We're deprecating these builds for the 3.1 release because we don't have a Matlab package in this release.
2024-06-23 14:11:34 -04:00
Bryan Weber
25d688bc16 [sdist/Python] Force numpy < 2.0 for units extra for compatibility with Pint
Update dependencies for Cython/Sdist packages
2024-06-23 14:11:34 -04:00
Bryan Weber
909f00d31b [sdist] Fix build-system dependencies for NumPy 2.0 support
NumPy 2.0 does not support Python 3.8, so we need to special case that version.
2024-06-23 14:11:34 -04:00
Bryan Weber
8f5d07538c [sdist] Simplify extension setup to resolve duplicate cythonizing
When building the sdist via scons, the cython step was running twice because of the conditional. In addition, we were getting a warning about building the extension from multiple source files. These changes resolve both problems by cythonizing once if the files aren't present and only including the C++ sources in the extension.
2024-06-23 14:11:34 -04:00
Bryan Weber
6eba0a2a1e [sdist] Install example data in the sdist
This can be configured by the top-level example_data option
2024-06-23 14:11:34 -04:00
Bryan Weber
8aee3cdf1c [SCons] Change how the sdist build environment is created 2024-06-23 14:11:34 -04:00
Bryan Weber
92f0f44c8d [Cython] Fix a few compiler warnings from Eigen 2024-06-23 14:11:34 -04:00
Bryan Weber
02b2bff2c4 [CI] Remove hdf_libdir/incdir since it should be found now 2024-06-22 21:15:47 -04:00
Bryan Weber
4ee44e2d1a [SCons] Configure libhdf5_serial if it's available
On Ubuntu, apt-installing libhdf5 installs as libhdf5_serial into the
default directory. This change configures libhdf5_serial if it's
available rather than libhdf5.

Closes #1718
2024-06-22 21:15:47 -04:00
Ray Speth
b4fa5318b4 [1D] Update formatting related to two point flame control 2024-06-21 14:23:34 -04:00
Ray Speth
e4d4e20961 [1D] Be more consistent about setting diag=0 2024-06-21 14:23:34 -04:00
Christopher Neal
b1c683b691 fixed whitespace errors 2024-06-21 14:23:34 -04:00
Christopher Neal
9fd067dbaa formatting changes & documentation/samples tweaks 2024-06-21 14:23:34 -04:00
Christopher Neal
7b2cace4c4 improved comments for control point picking, added more tests, updated example script 2024-06-21 14:23:34 -04:00
Christopher Neal
b22f6f035d added tests for two-point control method, not working for some 2024-06-21 14:23:34 -04:00
Christopher Neal
b357c79f53 updates to docstrings, code logic, and tests for two-point control 2024-06-21 14:23:34 -04:00
Christopher Neal
559a556bdd doxygen comment updates & exceptions added for two-point method 2024-06-21 14:23:34 -04:00
Christopher Neal
b4ad13d6d9 updated svg diagram to remove whitespace 2024-06-21 14:23:34 -04:00
Christopher Neal
e8515e8c03 updated governing equations section with more details on two-point method 2024-06-21 14:23:34 -04:00
Ray Speth
e7449ae072 Fix two-point functions with missing return values 2024-06-21 14:23:34 -04:00
Ray Speth
3ba333a051 [1D] Avoid output of unused solution components 2024-06-21 14:23:34 -04:00
Christopher Neal
a5221ac503 added a documentation section and an example 2024-06-21 14:23:34 -04:00
Ray Speth
2675f1bad3 [Test] Reduce pruning threshold to prevent oscillations 2024-06-21 14:23:34 -04:00
Christopher Neal
647e337321 updated comments for two-point control methods 2024-06-21 14:23:34 -04:00
Christopher Neal
e044cba6c4 python unit test for two-point control 2024-06-21 14:23:34 -04:00
Christopher Neal
f76a247936 added comments, fixed incorrect bc, other minor adjustments to two-point method 2024-06-21 14:23:34 -04:00
Christopher Neal
ad29065c48 zLeft and zRight outputs added for assessing two point control. Extra comments added 2024-06-21 14:23:34 -04:00
Christopher Neal
c0b7408e55 small formatting changes & comments 2024-06-21 14:23:34 -04:00
Christopher Neal
cd47cea55e prevent refinement from shifting two-point control points 2024-06-21 14:23:34 -04:00
Christopher Neal
821b774f83 python interface additions 2024-06-21 14:23:34 -04:00
Christopher Neal
083ff451d9 two-point flame control c++ additions 2024-06-21 14:23:34 -04:00
Ray Speth
e092189740 [Reactor] Improve drawing of reactor labels when showing state
Also, dot the m in mdot.
2024-06-21 20:17:45 +02:00
Ray Speth
37fd15b9c7 [Reactor] Allow drawing contents for full ReactorNet 2024-06-21 20:17:45 +02:00
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