Commit Graph

11160 Commits

Author SHA1 Message Date
ThorstenZirwes
b2c0af526f [C++] include internal struct in brace initializer 2024-07-05 13:26:58 -04:00
ThorstenZirwes
66c3220d28 [C++] add virtual destructors 2024-07-05 13:26:58 -04:00
Ingmar Schoegl
dd56a70401 [SolutionArray] Disable problematic methods for Interface 2024-06-30 15:33:24 -04:00
Ingmar Schoegl
0445e01e98 [Python] Fix dimension of sliced SolutionArrays 2024-06-30 15:33:24 -04:00
Ingmar Schoegl
90b4481554 [base] Fix repeated slicing of SolutionArray 2024-06-26 17:14:06 -04:00
Ray Speth
bc24169dad [CI] Ignore thermo warnings when testing examples 2024-06-25 17:42:07 -04:00
Ray Speth
aecf6715bc [Examples] Revise preconditioned integration example
- Modify formatting for Sphinx Gallery
- Use a larger mechanism file from the example_data repo to better
  demonstrate the benefits of preconditioning
2024-06-25 17:42:07 -04:00
Ray Speth
1e5b80e25f [Examples] Revise reactor wall/heat transfer example
- Structure comments for Sphinx Gallery
- Show reactor network structure at start and end of simulation
- Use pandas to show table of intermediate states and write CSV file
2024-06-25 17:42:07 -04:00
Ray Speth
3c57f62133 [Reactor] Draw observed wall velocity, not just imposed velocity 2024-06-25 17:42:07 -04:00
Ray Speth
95945d3ce6 [Doc] Fix Doxygen dark/light toggle when system prefers dark
See https://github.com/jothepro/doxygen-awesome-css/issues/105
2024-06-25 17:42:07 -04:00
Ray Speth
b8cec23275 [Doc] Add more links between tutorials and examples
Resolves Cantera/cantera-website#103
2024-06-25 17:42:07 -04:00
Ray Speth
f5a0176c28 [Python] Make more use of Interface.adjacent 2024-06-25 17:42:07 -04:00
Ray Speth
eec37ffcd8 [Examples] Add reactor network visualization to mix1.py 2024-06-25 17:42:07 -04:00
Ray Speth
aff6579dc2 [Doc] Quietly ignore missing scikits.odes 2024-06-25 17:42:07 -04:00
Ray Speth
16fd0bb782 [Examples] Update reaction_path.py for Sphinx Gallery 2024-06-25 17:42:07 -04:00
Ray Speth
49513a80fc [Examples] Provide additional integrator output for CSTR cases 2024-06-25 17:42:07 -04:00
Ray Speth
fd36ea68db [Examples] Reorganize Python examples into fewer categories 2024-06-25 17:42:07 -04:00
Ray Speth
06973fbb0c [Doc] Warn about problems with multiphase equilibrium solver 2024-06-25 17:42:07 -04:00
Ray Speth
c1a9004445 [Examples] Make better Sphinx Gallery output from sofc.py 2024-06-25 17:42:07 -04:00
Ray Speth
96ce2c1b2d [Examples] Use Newton's method from SciPy 2024-06-25 17:42:07 -04:00
Ray Speth
a98ea62071 [Doc] Add some glossary entries 2024-06-25 17:42:07 -04:00
Ray Speth
eb8cafe43e [Doc] Start populating the FAQ 2024-06-25 17:42:07 -04:00
Ray Speth
a853938337 [Doc] Tweak font size for code examples 2024-06-25 17:42:07 -04:00
Ray Speth
6e170b3187 [Doc] Make Sphinx search work when hosting docs locally
The javascript for the search box wouldn't work due to an earlier
error in the javascript for the version switcher when the switcher
JSON file couldn't be loaded.
2024-06-25 17:42:07 -04:00
Ingmar Schoegl
ded4513c8b [clib] Retain stflow_ routines but throw error 2024-06-23 14:15:27 -04:00
Ingmar Schoegl
37ad4e93d6 [oneD] Reorder content for named doxygen section 2024-06-23 14:15:27 -04:00
Ingmar Schoegl
c5c3d86170 [oneD] Add named doxygen section for governing equations
Also, add missing member variable documentation.
2024-06-23 14:15:27 -04:00
Ingmar Schoegl
3a9f198139 [oneD] Prevent compiler warning 2024-06-23 14:15:27 -04:00
Ingmar Schoegl
ecacc4a65e [unittests] Cover legacy StFlow class 2024-06-23 14:15:27 -04:00
Ingmar Schoegl
baa8dc2d34 [oneD] Reintroduce StFlow 2024-06-23 14:15:27 -04:00
Ingmar Schoegl
97efeed2f3 [oneD] Remove Flow1D::wdot 2024-06-23 14:15:27 -04:00
Ingmar Schoegl
0827444065 [oneD] Rename StFlow to Flow1D 2024-06-23 14:15:27 -04:00
Bryan Weber
b36d15636f Fix a typo in the docs
Co-authored-by: Ray Speth <speth@mit.edu>
2024-06-23 14:11:34 -04:00
Bryan Weber
03cdc61261 [Docs] Use conda-forge channel in all install commands
This will work for Anaconda or miniforge.
2024-06-23 14:11:34 -04:00
Bryan Weber
962d1c8ec9 [Docs] Update installation instructions for conda-forge only 2024-06-23 14:11:34 -04:00
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