Ray Speth
6c4249b231
Bump version to 4.0.0a2
2026-06-10 10:31:50 -04:00
Ray Speth and OpenAI Codex
4be08e69b6
[Reactor] Adjust default atol for mole-based reactors
...
Scale the default atol (1e-15) by the total mole number of the reactor
to maintain accuracy even for very large / very small reactors.
Co-authored-by: OpenAI Codex <codex@openai.com >
2026-05-08 16:49:05 -05:00
Ray Speth
11fe0e008f
[Thermo] Implement constant TV thermo properties for Redlich-Kwong
...
Providing these properties allows the Redlich-Kwong model to be used
with the preconditioner for the temperature-based IdealGasMoleReactor.
2026-03-09 18:07:53 -05:00
Ray Speth
5b9c864b28
[Thermo] Implement internal pressure property
2026-03-09 18:07:53 -05:00
Ray Speth
cab60121d0
[1D] Update Domain1D classes to use spans
2026-02-15 20:33:04 -06:00
Ray Speth
0ee3da91e8
Transition SteadyStateSystem to use span
2026-02-15 20:33:04 -06:00
Ray Speth
12b7a112e8
Update Reactor constructors to use spans
2026-02-15 20:33:04 -06:00
Ray Speth
8ff1f914e5
Update ThermoPhase array methods to use span
2026-02-07 18:26:48 -06:00
Ray Speth
5a64ec869e
[sourcegen] Handle span argument and return types
...
Required some modifications to handle type names that contain spaces,
for example 'span<const double>'.
2026-02-07 18:26:48 -06:00
Ray Speth
6ba35cbe7d
First pass at converting mass/mole fraction arrays to spans
2026-02-07 18:26:48 -06:00
Ray Speth
3061a4c2f7
[Reactor] Implement ReactorSurfaceFactory
2026-01-28 06:36:00 -06:00
Ingmar Schoegl
40cd810a4a
Prepare for major version jump
2026-01-27 21:50:54 -05:00
Ray Speth
ba2baa650f
Update minimum Python version to 3.12
2026-01-03 08:43:44 -07:00
Ray Speth
b048fc4062
Remove code deprecated in Cantera 3.2.0
2025-11-21 21:38:21 -05:00
Ray Speth
66378a5166
Bump version to 3.3.0a1
2025-11-21 21:38:21 -05:00
Ray Speth
4a8358eb80
Bump version to 3.2.0
2025-11-17 17:34:45 -05:00
Ingmar Schoegl
0ba504a1b4
[MATLAB] Ensure CounterFlowDiffusionFlame is set up correctly
2025-11-06 17:17:43 -06:00
Ingmar Schoegl
5cc78f93d8
[MATLAB] Simplify argument checks
...
Also, ensure that objects exist before calling destructor.
2025-11-06 17:17:43 -06:00
Ingmar Schoegl
3a77b162e5
[clib/MATLAB] Expose domain_phase
2025-11-06 17:17:43 -06:00
Ray Speth
274cad3985
Bump version to 3.2.0b1
2025-10-31 21:31:06 -04:00
Ray Speth
da24ee1509
[CLib] Fix size-related compile warnings in generated code
2025-10-28 17:17:06 -05:00
Ingmar Schoegl
19af7f84b1
Bump to 3.2.0a5
2025-10-27 22:43:16 -05:00
Ingmar Schoegl
293ea8ca5c
Streamline MATLAB getter/setter methods
...
Ensure enableEnergy / enableChemistry / massFlowRate are consistent
with C++ API.
2025-10-27 13:49:13 -04:00
ssun30
722ecf9f13
[sourcegen] Added setState_TPX & setState_TPY by Name
2025-10-27 13:49:13 -04:00
Ingmar Schoegl
e6f6e2de20
[zeroD] Make energy/chemistryEnabled setter consistent
2025-10-27 13:49:13 -04:00
Ingmar Schoegl
fa659452e7
[sourcegen] Add return type double*
2025-10-27 13:49:13 -04:00
Ingmar Schoegl
e4895a5070
[sourcegen] Avoid snake_case in API
2025-10-27 13:49:13 -04:00
Ingmar Schoegl
309ac7548a
[sourcegen] Fix/expand signatures
2025-10-27 13:49:13 -04:00
Ingmar Schoegl
3d7233773b
[zeroD] Add ReactorBase::area/setArea
...
Adding virtual getter/setter to the base class as area is used by both
ReactorSurface and FlowReactor.
2025-10-27 13:49:13 -04:00
Ingmar Schoegl
64d4358dbe
[sourcegen] Avoid const in primitive returns
2025-10-22 06:20:12 -05:00
Ingmar Schoegl
1c4ef60e22
[sourcegen] Make definitions consistent
2025-10-22 06:20:12 -05:00
Ingmar Schoegl
6866fe3005
[sourcegen] Fix docstring
2025-10-22 06:20:12 -05:00
Ingmar Schoegl
5e351a1d8e
[CLib] Implement temporary custom code
...
Prevents future changes in the CLib code despite changes in the C++ API.
2025-10-20 17:41:31 -04:00
Ingmar Schoegl
b23315e669
[base] Make phaseIndex more consistent
2025-10-20 17:41:31 -04:00
Ingmar Schoegl
b2d649068d
[base] Improve exception handling for speciesIndex
2025-10-20 17:41:31 -04:00
Ingmar Schoegl
55fe9d9f4f
[base] Update exception handling for elementIndex
2025-10-20 17:41:31 -04:00
Ingmar Schoegl
ab988c213b
[sourcegen] Do not escape Cantera in \brief
...
Docstrings containing '%Cantera' cause crashes in the MATLAB build
process, as '%' is reserved for comments.
2025-10-18 23:52:00 -05:00
Ingmar Schoegl
53ef2557b1
[sourcegen] Ensure int32_t is present in all headers
2025-10-18 23:52:00 -05:00
Ingmar Schoegl
8a0b024970
[sourcegen] Remove _auto from header configuration
...
While '_auto' was useful for testing purposes, it is no longer needed.
All relevant files start with 'ct', which is sufficient.
2025-10-18 23:52:00 -05:00
Ingmar Schoegl
98de839146
[sourcegen] Implement extraction of deprecation message
2025-10-18 23:52:00 -05:00
Ingmar Schoegl
7a50d2fbfa
[sourcegen] Leverage Jinja2 macros
2025-10-18 23:52:00 -05:00
Ingmar Schoegl
c38f7bf7af
[sourcegen] Introduce Jinja2 macro
2025-10-18 23:52:00 -05:00
Ingmar Schoegl
396552c08f
[sourcegen] Fix vector [out] parameter
2025-10-18 23:52:00 -05:00
Ingmar Schoegl
c03dfea07c
[sourcegen] Ensure all handles are int32_t
2025-10-18 23:52:00 -05:00
Ingmar Schoegl
635c275427
[sourcegen] Fix minor glitches
2025-10-18 23:52:00 -05:00
Ingmar Schoegl
c529551aea
Address review comments
2025-10-17 18:01:53 -04:00
Ingmar Schoegl
6be47c3028
[Python] Rename ReactorBase.contents to phase
2025-10-17 18:01:53 -04:00
Ingmar Schoegl
8ef3115a06
[zeroD] Replace contents4 by phase
2025-10-17 18:01:53 -04:00
Ingmar Schoegl
2b6bf8f9de
[sourcegen] Fix glitch in XML parsing
2025-10-14 08:35:56 -05:00
Ingmar Schoegl
a6a341edfe
[oneD] Simplify Domain1D::value API
2025-10-09 18:46:40 -05:00