Commit Graph
204 Commits
Author SHA1 Message Date
Ray Speth 5864c86deb [Kinetics] Make Tsang 'B' parameter consistently optional 2026-03-05 16:51:44 -05:00
Ray Speth ea57a95a86 [Kinetics] Return variable-length coefficient list from falloff rates
This restores the behavior from before 3377c037 / #2085 and eliminates
a warning about zero values for the T2 coefficient that were being
issued by some tests.
2026-03-05 16:51:44 -05:00
Ray Speth 3377c0374b Transition Kinetics method from vector to span 2026-02-11 18:49:38 -06:00
Ray Speth a715a0fe45 Update main Kinetics methods to use span 2026-02-11 18:49:38 -06:00
Ray Speth 8ff1f914e5 Update ThermoPhase array methods to use span 2026-02-07 18:26:48 -06:00
Ray Speth 9906ff27ba Convert remaining Phase methods to use span 2026-02-07 18:26:48 -06:00
Ray Speth ef5284438b Fix unused variable compiler warnings 2025-10-28 17:17:06 -05:00
Ray Speth c246d63870 Fix integer size-related compiler warnings 2025-10-28 17:17:06 -05:00
Ingmar Schoegl 6ae17f633f [CI] Add some unit tests 2025-10-22 06:20:12 -05:00
Ingmar Schoegl 7fa6782449 [CI] Update headers for test 2025-09-22 21:11:54 -04:00
Ray Speth 71ffab4f1e [Input] Fix handling of falloff reactions with extra apparent third body 2025-09-07 08:13:50 -05:00
Ray Speth 097ad33be2 [Kinetics] Fix reaction balance check for negative element abundances
Negative element abundances are used to represent positive ions.

Fixes #1910
2025-06-24 21:17:27 -04:00
Bang-Shiuh Chen b2fd4a0166 [plasma] fix the failed tests due to m_cs_interp 2025-01-31 00:37:47 -05:00
Ray Speth ae004ced01 [Test] Add tests for more complex LinearBurkeRate cases 2024-11-02 06:54:54 -05:00
Ray Speth 22ad9348b4 Add option to show stack trace as part of CanteraError message 2024-07-09 09:50:40 +02:00
Ray Speth b0ba90a3e7 [Kinetics] Ensure rate name is known during third body set up 2024-03-28 10:55:04 -04:00
Bang-Shiuh Chen 76f7a814d4 [test] add ElectronCollisionPlasmaFromYaml 2024-03-28 10:55:04 -04:00
Ray Speth 04d37a9737 Remove deprecated class GasKinetics 2023-08-26 19:03:02 -07:00
Ray Speth b35ef5907c Use override in C++ samples and tests 2023-08-15 14:21:04 -04:00
Ingmar Schoegl 717af98109 [unittests] Add unit test for thirdbody edge cases 2023-08-14 22:09:39 -05:00
Ray Speth 53396d4414 Clean up line wrapping and indentation 2023-08-05 16:26:32 -04:00
Ingmar Schoegl 64ade35c22 Using std::string 2023-08-05 16:26:32 -04:00
Ingmar Schoegl 0df90be93e Using std::map 2023-08-05 16:26:32 -04:00
Ingmar Schoegl 8f320c217c Using std::pair 2023-08-05 16:26:32 -04:00
Ingmar Schoegl 1b81689d40 Using std::vector 2023-08-05 16:26:32 -04:00
Ingmar Schoegl 845a551277 Replace vector_fp 2023-08-05 16:26:32 -04:00
Ray Speth f97402b632 [SCons] Eliminate CT_HAS_PYTHON define from config.h
This speeds up some incremental builds when switching between configurations
with and without the Python module, as done during Conda packaging.
2023-06-27 10:31:50 -06:00
Jongyoon Bae 900fc14fa4 Remove redundant namespace prefixes 2023-06-15 15:53:37 -04:00
Jongyoon Bae deb9bf87c4 Initial commit for polynomial Ea coverage dependency
Add documentation
2023-06-15 15:53:37 -04:00
Ray Speth 3f245880c4 [Test] Enable printing stack trace after fatal errors 2023-06-10 20:57:53 -06:00
Ray Speth b5d456545b [Kinetics] Merge GasKinetics into BulkKinetics 2023-04-21 18:44:56 -05:00
Ray Speth 707c569a3d [Kinetics] Deprecate reacting phase not in first position
Standardize on the behavior implemented by the newSolution and
newInterface constructors.
2023-04-21 18:44:56 -05:00
Ray Speth b9cf03faf3 Move undefined units handling into UnitSystem
Handling this centrally simplifies the implementation of user-defined
rate functions
2023-04-18 09:33:15 -05:00
Ray Speth b076ed9643 Standardize on lowercase 'none' as empty model name
Deprecate 'None'
2023-03-13 22:58:24 -05:00
Ray Speth fde6650a0b Deprecate most XML-era model names 2023-03-13 22:58:24 -05:00
Ray Speth 26578861d2 Deprecate unused/redundant methods of class Kinetics 2023-03-13 22:58:24 -05:00
Ray Speth 7a69a67f2c Make use of make_unique
Also use make_shared more consistently
2023-03-09 11:01:23 -06:00
Ingmar Schoegl 0b0159a30d Rename Kinetics::addPhase to Kinetics::addThermo 2023-03-06 18:02:07 -06:00
Ingmar Schoegl 85758763ff [unittests] Remove legacy factory methods 2023-03-06 18:02:07 -06:00
Ray Speth 5810a2abe4 Fix some compiler warnings 2023-02-24 19:32:34 -05:00
Ray Speth e494c0a926 Fix issues identified by _GLIBCXX_ASSERTIONS macro
Resolves #1430
2023-02-24 19:32:34 -05:00
Ray Speth f687bfdbf7 Implement ExtensibleRateData for Python interface 2023-01-21 17:43:37 -06:00
Ray Speth f550faa477 [Python] Defer import of h5py until time of use
This avoids potential conflicts between the versions of libhdf5 linked
to the Cantera library and h5py, which could occur when a C++ main
application made use of the Python ExtensibleRate class.
2023-01-12 14:05:37 -05:00
Ingmar Schoegl 9ac0f05695 [UnitTest] Skip PythonExtensibleRate if HDF5 is used 2023-01-12 14:05:37 -05:00
Ray Speth fe82aafe38 Add C++ test for Python ExtensibleRate 2022-09-11 10:59:30 -04:00
Ray Speth 920adff6d6 Add machinery for managing user extensions 2022-09-11 10:59:30 -04:00
Ingmar Schoegl c2830c31d3 [UnitTests] Update three-body unit tests 2022-07-24 18:48:56 -04:00
Ingmar Schoegl 9d9bb5f09d Address review comments 2022-07-24 18:48:56 -04:00
Ingmar Schoegl 6a6497a8f5 [UnitTests] Addition third-body collider tests 2022-07-24 18:48:56 -04:00
Ingmar Schoegl bf617fb574 [UnitTests] Cover edge cases for three-body reaction logic 2022-07-24 18:48:56 -04:00