Commit Graph

10402 Commits

Author SHA1 Message Date
Ray Speth
730885b6ed [SCons] Remove unnecessary code block 2023-06-27 10:31:50 -06:00
Ray Speth
436ad647d7 Use shared library for generated C++ sample build scripts 2023-06-27 10:31:50 -06:00
Ray Speth
6b1acb9ff7 Fix setting include/lib dirs for generated build scripts
Previous cleanup of this was overly agressive
2023-06-27 10:31:50 -06:00
Ray Speth
37977ee156 Fix some compiler warnings 2023-06-27 10:31:50 -06:00
Ray Speth
94ac6c6513 [clib] Use int as index type for SharedCabinet 2023-06-27 10:31:50 -06:00
Ray Speth
8c4195de7a Fix missing include in SolutionArray.cpp 2023-06-27 10:31:50 -06:00
Ray Speth
809dcc1673 [SCons] Fix MSVC flags in generated SConstruct/CMakeLists.txt
Compiler flags were getting deleted because they start with '/' not '-'.
2023-06-27 10:31:50 -06:00
Ray Speth
bfea771a0e [SCons] Distinguish between static and shared library directories
On Windows, the search path for DLLs is the "bin" dir. "lib" dirs are used
only for static and "import" libraries.
2023-06-27 10:31:50 -06:00
Ray Speth
1a6fb2fd8e [SCons] Don't set SOVERSION for the Python shim library
This library is always loaded using the unversioned name.
2023-06-27 10:31:50 -06: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
Gandhali Kogekar
d717e8bc6f Updating the failing test 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
ae40b869ae Removing the phase check 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
865dec011c Updating 'missing_ok' flag for python>3.8 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
7eeb698505 Modification to non-ideal flame testcase to run at 10 bar 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
eba7e8d86c Removing redundant variables 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
7e06c48a4d Formatting changes for Doxygen-style comments 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
5876366448 Updating the description for R-K parameters 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
76d5beee92 Adding a python test for non-ideal flame model 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
bdeaeddd1e Formatting changes (Limiting lines to 88 characters) 2023-06-22 17:18:47 -04:00
Ingmar Schoegl
95eda76f69 [unittests] Relax tolerances for legacy benchmarks
Cantera 3.0 introduces small changes for onedim calculations; as
benchmark files were generated with Cantera 2.6, tolerances need to be
relaxed.
2023-06-22 17:18:47 -04:00
Gandhali Kogekar
d12f11a952 Modifications to the test outputs 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
ed6f376815 Removing the ideal gas energy equation code block. 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
1f56865c98 Few formatting changes 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
0b3a0f6796 Addition of global arrays m_hk and m_dhk_dz 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
f631d3863a Formatting changes 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
97456f8f8d Few modifications required after rebasing the code with current Cantera
version
2023-06-22 17:18:47 -04:00
Gandhali Kogekar
81ed856986 Removing some redundant code as recommended in reviewer's comments. 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
98a8d9d7c3 Modification to energy equation based on thermo phase type 2023-06-22 17:18:47 -04:00
Gandhali Kogekar
fa18d7ebb7 Modify the StFlow class to allow non-ideal thermophase
The term (cp_k*dT/dt) in the energy equation is replaced by (dh_k/dt).
2023-06-22 17:18:47 -04:00
Ingmar Schoegl
e45876491d [samples] Update keyword in failing test 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
3e9a908021 Additional documentation updates for Sim1D file IO 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
0d58bac3b5 Resolve discrepancies of nomenclature in C++/Python
Argument names of SolutionArray IO in C++ and Python were not
consistent, which is resolved in this commit.
2023-06-21 19:57:25 -06:00
Ingmar Schoegl
5a4e3f861a Improve SolutionArray IO documentation and exceptions
Resolve discrepancies of nomenclature in C++/Python
2023-06-21 19:57:25 -06:00
Ingmar Schoegl
9c60e9eb15 [unittests] Add coverage for CSV SolutionArray.save 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
f1c795e993 [oneD] Replace write_csv by save 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
9a370304e8 [samples] Replace write_csv with save 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
794ca910a4 [Python] Deprecate SolutionArray.write_csv 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
a8715d98e9 [Python] Add missing SolutionArrayBase.resize method 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
2f8f798d16 [base] Increase precision for CSV output 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
222935c7a4 [base] Clarify exception for CSV SolutionArray::restore 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
f832c7e2c9 Implement flexible basis for SolutionArray::save CSV 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
a13823ba8b [base] Enable flexible species base for CSV output 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
14c48d6c72 [base] Improve exception handling for CSV SolutionArray::save 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
1ed4762fae [base] Simplify CSV SolutionArray::save 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
f6f7db95f4 [Python] Make SolutionArray.from_pandas more flexible
Add support for data types other than float.
2023-06-21 19:57:25 -06:00
Ingmar Schoegl
84ad775d74 [base] Write CSV body for SolutionArray::save 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
ee0ed3f034 [base] Write CSV header line for SolutionArray::save 2023-06-21 19:57:25 -06:00
Ingmar Schoegl
065de1ec66 [base] Create framework for SolutionArray::save CSV output 2023-06-21 19:57:25 -06:00
Ray Speth
ea2fe2fbff [SCons] Fix missing RPATH in generated SConstruct files 2023-06-21 09:09:15 -04:00
Ray Speth
101dc114ad [SCons] Clean up includes/libs in generated build scripts 2023-06-21 09:09:15 -04:00