Commit Graph
12243 Commits
Author SHA1 Message Date
Ingmar Schoegl 7d85643ace [clib] Drop 'generated' from CLib samples 2025-09-22 21:06:38 -04:00
Ingmar Schoegl f8612916f7 [CI] Update clib-test 2025-09-22 21:06:38 -04:00
Ingmar Schoegl 33aab53140 [sourcegen] Remove unused code 2025-09-22 21:06:38 -04:00
Ingmar Schoegl cdeccf4a13 [sourcegen] Update recipes 2025-09-22 21:06:38 -04:00
Ingmar Schoegl b76abd8424 [clib] Remove obsolete Cabinet code 2025-09-22 21:06:38 -04:00
Ingmar Schoegl 83e20aa9a5 [docs] Remove obsolete references 2025-09-22 21:06:38 -04:00
Ingmar Schoegl f6d64b9ef4 [clib] Copy Cabinet.h
Do not retain 'copy' and 'clear'
2025-09-22 21:06:38 -04:00
Ingmar Schoegl b9eb2052a3 [sourcegen] Remove obsolete reserved functions 2025-09-22 21:06:38 -04:00
Ingmar Schoegl 511f6b8285 [docs] Simplify examples landing page 2025-09-22 09:30:11 -04:00
Ingmar Schoegl d68b4d810a [SCons] Install data/README.md 2025-09-22 09:30:11 -04:00
Ingmar Schoegl 1c09f9fa82 [doc] Add disclaimer for example files 2025-09-22 09:30:11 -04:00
Ingmar Schoegl 68cf9f5f02 [doc] Add disclaimer for example input files
Also, add GRI-Mech 3.0 as an example. The description points out that
the mechanism is outdated.
2025-09-22 09:30:11 -04:00
Ingmar Schoegl 9978017896 [docs] Fix example_data paths 2025-09-22 09:30:11 -04:00
Bryan Weber 3e8353044d Bump to 3.2.0a4 2025-09-19 09:02:00 -05:00
Bryan Weber 1b524bcd57 [Sdist/wheel] Add Python 3.14 classifier 2025-09-19 09:02:00 -05:00
Bryan Weber 5c0df3e442 [Sdist/Wheel] Update dependency versions
Update the dependency versions in the SDist configuration to match those
set up in the GHA build jobs and manylinux base image.
2025-09-19 09:02:00 -05:00
Bryan Weber 5513c89f78 [cibuildwheel] Skip free-threading Python on Windows
The builds for free-threading Python fail on Windows with the current
GHA infrastruture. I'm not sure why, and since we don't officially
support free-threading anyways, I'm not really inclined to debug it at
this time.
2025-09-19 09:02:00 -05:00
Bryan Weber 793008dc2c [cibuildwheel] Only build 64-bit archs
This configuration ensures that cibuildwheel only tries to build 64-bit
wheels. This was pretty much the default anyways on our GHA builds, but
the explicit configuration just makes sure we don't introduce an
untested setup by accident.
2025-09-19 09:02:00 -05:00
Bryan Weber ceee7624b4 [cibuildwheel] Use the uv-backed build backend for speed 2025-09-19 09:02:00 -05:00
Bryan Weber f598051d3c [Sdist/Wheel] Bump Ninja to 1.13 or greater 2025-09-19 09:02:00 -05:00
Ray Speth c6ca2ca8d2 [Thermo] Revert to previous state after error setting thermo state
This prevents ThermoPhase objects from ending up in broken states
where they can't be set to a new state because of a partially-applied
invalid state, for example caused by an out-of-range temperature.
2025-09-19 06:50:02 -04:00
Ray Speth e6c2c102bf [Thermo] Check for negative pressure in VPStandardStateTP 2025-09-19 06:50:02 -04:00
Ray Speth 5cdf819e36 [Thermo] Remove unnecessary setState overrides 2025-09-19 06:50:02 -04:00
Ray Speth 30495c415d [Thermo] Add functions to save/restore state excluding composition 2025-09-19 06:50:02 -04:00
Ray Speth 69e974cc07 [CI] Fix use of undefined variables in workflows 2025-09-19 06:50:02 -04:00
Ray Speth 72fbf271f0 [Python] Replace and deprecate class Arrhenius 2025-09-16 20:25:13 -05:00
Ray Speth 82006bc38b [Python] Fix modifying rates using Arrhenius objects
Fixes #1870
2025-09-16 20:25:13 -05:00
Ray Speth b801cc3f18 [SCons] Fix installation of generated CLib headers
Exclude legacy CLib headers from installation when generated CLib
is being used.
2025-09-16 19:42:09 -05:00
Ray Speth ccb9c116b8 Fix introspection of key names in AnyMap generated from Python
Fixes #1925
2025-09-16 09:39:43 -04:00
Ray Speth a68b2771e5 [SCons] Fix installation path for generated clib sample
The source file and the build scripts should be in the same directory.
2025-09-11 15:48:28 -05:00
Ray Speth 33e5afc29b Eliminate use of deprecated method in C++ combustor example 2025-09-10 21:56:39 -05:00
Ray Speth 1c0b7f4d05 Update minimum CMake version for generated build scripts 2025-09-10 21:56:39 -05:00
Ingmar Schoegl ca88f08c3e [Python] Use unicode superscripts in docstrings 2025-09-10 10:04:30 -04:00
Ingmar Schoegl 19f9c1a833 [unittest] Check SolutionArray parameters 2025-09-10 10:04:30 -04:00
Ingmar Schoegl 0259280dfd [Python] Check infile when creating Solution 2025-09-10 10:04:30 -04:00
Ingmar Schoegl 28ed297399 [Python] Address reviewer comments from #1964 2025-09-10 10:04:30 -04:00
Ray Speth d09da9689d [SCons] Indicate compatibility with Python 3.14 2025-09-09 09:01:16 -05:00
Ray Speth 0c561b64ea Fix miscellaneous documentation typos v3.2.0a3 2025-09-08 07:38:44 -05:00
Ray Speth 72d21e1c7f Bump version to 3.2.0a3 2025-09-08 07:38:44 -05:00
Martijn Ruijzendaal ba8d45c14b Correct heat transfer coefficient unit in docstring
The [C++ documentation](https://cantera.org/dev/cxx/db/d1e/classCantera_1_1Wall.html) specifies that param U is actually of unit [W/m^2/K].

The [current Python documentation](https://cantera.org/dev/python/zerodim.html#walls) of the calculation of the heat transfer q [W/m^2] involves U * deltaT, with deltaT of unit [K], also implying U is of unit [W/m^2/K].

From some practical experience, it seems that the current Python documentation is inaccurate with respect to U. I could not find any other references to U in the `cantera` or `cantera-website` repositories, so I'm assuming the documentation is generated from the python docstrings. If that's the case, this edit should fix the issues.
2025-09-08 07:13:09 -05:00
Ray Speth 603cb60115 [Thermo] Deprecate LatticePhase and LatticeSolidPhase 2025-09-08 06:08:32 -05:00
Ray Speth b3056bf584 [Doc] Replace use of 'lattice' in YAML surface example 2025-09-08 06:08:32 -05:00
Ray Speth 57b15843a3 [Python/1D] Fix auto-solve after restoring from Pandas
Fixes #1889
2025-09-07 20:55:14 -04:00
Ray Speth 2e015943a7 Update authors list 2025-09-07 19:26:29 -04:00
ssun30 d98b091d94 [MATLAB] Removed the pre-test set up steps
Now the unit test suite has its own set up methods
to handle the paths
2025-09-07 19:26:29 -04:00
ssun30 ce94581b08 [MATLAB] Fixed issues with ignition examples
Fixed some formatting with cell markers
2025-09-07 19:26:29 -04:00
ssun30 04ac6fba75 [MATLAB] Renamed Sim1D.display to Sim1D.show 2025-09-07 19:26:29 -04:00
ssun30 26c34ce995 [MATLAB] Removed savepath behavior from ctPaths 2025-09-07 19:26:29 -04:00
ssun30 a66e2f8373 [MATLAB] Changed installation guide and docs
for installing the MATLAB toolbox
2025-09-07 19:26:29 -04:00
ssun30 5e5d170ef1 [MATLAB] Incorporated sample tests into CI
The test_examples script can still be used to
run all examples by the user, but it's not
necessary for the unit test suite.
2025-09-07 19:26:29 -04:00