Commit Graph

11090 Commits

Author SHA1 Message Date
Niclas Garan
a1763c8e9c add version tag to methods, functions and properties 2024-01-05 20:28:44 -05:00
Niclas Garan
6efd412906 Change graphviz package name in setup.cfg.in
Since these are pip-related files , the correct name is `graphviz` while `python-graphviz` is the name of the conda package.
2024-01-05 20:28:44 -05:00
Niclas Garan
04df9f404c adjust wall velocity representation
Requires graphviz >= 9.0
2024-01-05 20:28:44 -05:00
Niclas Garan
c6b2d04ca8 Check for unique names, remove wrapper functions
If names are not unique, raise AssertionError
Regroup keyword arguments for functions
2024-01-05 20:28:44 -05:00
Niclas Garan
96c21a2b6f add species_units keyword to draw_reactor
This allows to display reactors' species as either percent or ppm
2024-01-05 20:28:44 -05:00
Niclas Garan
a1e0acd8fa Make keyword arguments explicit and adjust docstrings 2024-01-05 20:28:44 -05:00
Niclas Garan
c7cdf27c9f Use graphviz' cluster feature to allow for grouping of reactors
This introduces an additional `groupname` attribute for the `Reactor` extention class
2024-01-05 20:28:44 -05:00
Niclas Garan
ff046ddd31 Ensure that drawing nodes are always given a unique name
Otherwise, graphviz will consider them to be the same object.
2024-01-05 20:28:44 -05:00
Niclas Garan
74d004359f Change new rw properties into public members of extention classes 2024-01-05 20:28:44 -05:00
Niclas Garan
7e795389f6 Clean up imports and apply suggested changes in drawnetwork.py 2024-01-05 20:28:44 -05:00
Niclas Garan
7b20d8e27c include wall movement 2024-01-05 20:28:44 -05:00
Niclas Garan
c553eb2915 Include ReactorSurface 2024-01-05 20:28:44 -05:00
Niclas Garan
9a7af06221 add optional graphviz dependency to build pipelines 2024-01-05 20:28:44 -05:00
Niclas Garan
92609d8475 add unittests for drawing methods 2024-01-05 20:28:44 -05:00
Niclas Garan
7ffd1c96bd let direct draw edge_attr overwrite for single connection 2024-01-05 20:28:44 -05:00
Niclas Garan
c3874535f1 add draw methods to Reactor, ReactorNet, FlowDevice and WallBase 2024-01-05 20:28:44 -05:00
Niclas Garan
392dc8d1c0 implement reactor network visualization with python-graphviz 2024-01-05 20:28:44 -05:00
Niclas Garan
f5b2011798 added draw attributes to objects in reactor.pyx 2024-01-05 20:28:44 -05:00
Niclas Garan
c05740407f Make reactor net connections available in Python.
This includes:
 - ReactorNet._reactors
 - FlowDevice._upstream and FlowDevice._downstream
 - WallBase._left_reactor and WallBase._right_reactor
2024-01-05 20:28:44 -05:00
dependabot[bot]
811ffbc6b2 Bump tj-actions/changed-files from 37 to 41 in /.github/workflows
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v37...v41)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 16:47:01 -05:00
Bryan Weber
de4e7c2c44 Small updates for consistency 2023-12-24 16:24:05 -05:00
Mark E. Fuller
245e488c76 add (missing) __call__ and report methods to with_units 2023-12-24 16:24:05 -05:00
Matthias Diener
87317b7d4a make warning ignore more precise 2023-12-12 11:30:18 -05:00
Ray Speth
aee3092205 [.NET] Fix use of removed ruamel.yaml.safe_load 2023-12-12 11:30:18 -05:00
Matthias Diener
afee885203 undo setuptools version restriction 2023-12-12 11:30:18 -05:00
Matthias Diener
74cdba2c1e adjust warnings filter 2023-12-12 11:30:18 -05:00
Matthias Diener
3f8e5dc51c ignore datetime warning 2023-12-12 11:30:18 -05:00
Matthias Diener
2c7c1a1e79 add 3.12 to CI 2023-12-12 11:30:18 -05:00
Matthias Diener
2b569496ae [scons] Bump python_max_p1_version to 3.13 2023-12-12 11:30:18 -05:00
Ray Speth
8563be1e16 [ck2yaml] Fix species count printed in output summary 2023-12-06 21:12:15 -05:00
Ray Speth
884cc9f0d4 [ck2yaml] Fix converting surface mechanisms with separate thermo data 2023-12-06 21:12:15 -05:00
Ray Speth
60ea75af4a [Doc] Transfer legacy2yaml tutorial 2023-10-22 08:08:57 -05:00
Ray Speth
dc17c373e3 [Doc] Transfer YAML error handling guide 2023-10-22 08:08:57 -05:00
Ray Speth
f7c12cc2eb [Doc] Transfer YAML tutorial 2023-10-22 08:08:57 -05:00
Ray Speth
597b505036 [Doc] Transfer YAML "Defining Phases" guide 2023-10-22 08:08:57 -05:00
Ray Speth
33519432ac [Doc] Transfer ThermoBuild tutorial 2023-10-22 08:08:57 -05:00
Ray Speth
03ee315afa [Doc] Add revised ck2yaml tutorial
Mostly drawn from the corresponding page in cantera-website, with
some updates and removing content covered in the reference guide.
2023-10-22 08:08:57 -05:00
ssun30
3a9bc6a66d Density/specific volume are now basis dependent 2023-10-18 16:42:11 -04:00
ssun30
c452b8a4d9 Updated documentation for stoich coeff methods 2023-10-18 16:42:11 -04:00
ssun30
903d48bbbf Fixed setter errors with unit conversions 2023-10-18 16:42:11 -04:00
ssun30
bb7c01a836 Added error handling for out of bounds indices 2023-10-18 16:42:11 -04:00
ssun30
cc54703c5b Removed unnecessary variable root_dir 2023-10-18 16:42:11 -04:00
ssun30
6ce0ef5b73 Fixed issues in ThermoPhase to pass more tests 2023-10-18 16:42:11 -04:00
ssun30
7c8e3e4492 Fixed Kinetics class so all tests pass 2023-10-18 16:42:11 -04:00
ssun30
840def2897 Changed how ThermoPhase is printed. 2023-10-18 16:42:11 -04:00
ssun30
40a9373176 Added Cantera error identifiers. 2023-10-18 16:42:11 -04:00
ssun30
aec7e17664 Added ctRoot to gitignore 2023-10-18 16:42:11 -04:00
Ray Speth
de77fa3c14 [Doc] Use cards for Examples landing page 2023-10-09 16:40:37 -04:00
Ray Speth
134fce72e4 [Doc] Avoid needing two lines for header links 2023-10-09 16:40:37 -04:00
Ray Speth
eaed836915 [Doc] Simplify addition of "Community" link 2023-10-09 16:40:37 -04:00