Ingmar Schoegl
bfa7545d53
[Python] Stringify None to ""
2023-03-16 10:13:02 -04:00
Ingmar Schoegl
8c6a2282b9
[AnyValue] Add service functions
2023-03-16 10:13:02 -04:00
Ingmar Schoegl
cbddc73177
Ignore .DS_Store files
2023-03-16 10:13:02 -04:00
Ray Speth
b076ed9643
Standardize on lowercase 'none' as empty model name
...
Deprecate 'None'
2023-03-13 22:58:24 -05:00
Ray Speth
23ebd13dbf
Deprecate XML-era transport names 'Mix' and 'Multi'
...
Fixes #1425
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
4e16561b95
Eliminate usage of and deprecate Phase::moleFractdivMMW
2023-03-13 22:58:24 -05:00
Ray Speth
7ce825aebd
Deprecate integer-based instantiation of tpx::Substance
2023-03-13 22:58:24 -05:00
Ray Speth
adb49c3c18
Deprecate unused methods of PDSS classes
2023-03-13 22:58:24 -05:00
Ray Speth
ebf7cb6bb1
Document reasons for providing activity coefficient derivatives
2023-03-13 22:58:24 -05:00
Ray Speth
125e150380
Remove unnecessary non-implementatiosn of getdlnActCoeffdlnN_diag
2023-03-13 22:58:24 -05:00
Ray Speth
9153ef23ab
Deprecate class MaskellSolidSolnPhase
...
This phase model is incomplete, has numerous thermodynamic consistency
issues as documented in #1321 , and has no known non-trivial examples.
Resolves #1321
2023-03-13 22:58:24 -05:00
Ray Speth
5e50be34f3
[Doc] Fix building Sphinx docs on macOS
...
macOS doesn't allow passing DYLD_LIBRARY_PATH through a shell, so
we need to use subprocess.call to be able to call sphinx-build while
including build/lib in the library path. The need to have the library
path set for this is a result of the transition to linking the Python
module against a shared version of libcantera.
2023-03-13 22:58:24 -05:00
Ray Speth
f04ea58338
Deprecate class IonsFromNeutralVPSSTP and class PDSS_IonsFromNeutral
...
This model has had a request for tests/examples out for many years (#267 )
with no response, and the addition of consistency tests revealed multiple
errors in the implementation (documented in #1322 ). Further, there is no
mathematical description of the model or references to literature to use
as a reference in trying to correct any of these issues.
Resolves #1322 .
2023-03-13 22:58:24 -05:00
Ray Speth
922402575a
Deprecate unused methods of class Transport
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
a69206c724
Deprecate unused methods of class ThermoPhase
2023-03-13 22:58:24 -05:00
Ray Speth
d1a57424d7
Deprecate unused methods of class Phase
2023-03-13 22:58:24 -05:00
Ingmar Schoegl
5cd3d8a29a
[test_problems] Remove checks for legacy VS versions
...
_MSC_VER < 1900 corresponds to 1800 and earlier, which is
VC++ version 12.0 (Visual Studio 2013). Cantera now uses the C++17
standard, with the current minimum requirement VC++ version 14.1
(Visual Studio 2017).
2023-03-10 13:39:22 -06:00
Ingmar Schoegl
df5fa549ff
[SCons] Redirect test-clib-demo
2023-03-10 13:39:22 -06:00
Ingmar Schoegl
9511b5e0a7
[samples] Simplify clib demo
2023-03-10 13:39:22 -06:00
Ingmar Schoegl
32a6aa43e6
[samples] Move clib-demo to samples/clib/demo.c
2023-03-10 13:39:22 -06:00
Ray Speth
5d247d0031
Fix assertions in clib_test
2023-03-09 11:01:23 -06:00
Ray Speth
172b323531
Replace boost::any with std::any
...
Since we no longer need to "hide" the Boost usage, we can make the
std::any member of AnyValue a regular member variable rather than
a pointer, which simplifies a few things.
2023-03-09 11:01:23 -06:00
Ray Speth
19d99b227c
[Test] Disable occasionally-failing TestReactor.test_advance_with_limits
...
Depending on the output times given to Reactor.advance, specified limits
on the change in one or more state variables can be exceeded by a wide
margin.
See #1453
2023-03-09 11:01:23 -06:00
Ingmar Schoegl
0cb25ab4b4
[samples] Update cmake standard to C++17
2023-03-09 11:01:23 -06:00
Ray Speth
7a69a67f2c
Make use of make_unique
...
Also use make_shared more consistently
2023-03-09 11:01:23 -06:00
Ray Speth
da264799cb
Remove unnecessary using and include statements
2023-03-09 11:01:23 -06:00
Ray Speth
ad6efaba4f
Use 'default' to implement trivial constructors
2023-03-09 11:01:23 -06:00
Ray Speth
a8fa093fb8
Use C++11-style non-static data member initialization
2023-03-09 11:01:23 -06:00
Ray Speth
b8d07edba9
Use std::filesystem to get last modified time of input files
2023-03-09 11:01:23 -06:00
Ray Speth
184f4ddccf
Use 'if constexpr' to simplify MultiRate specialization
2023-03-09 11:01:23 -06:00
Ray Speth
56c3a077f7
Make use of C++17 structured bindings to improve readability
2023-03-09 11:01:23 -06:00
Ray Speth
a6196d3744
Use std::set instead of std::map when the value is never used
2023-03-09 11:01:23 -06:00
Ray Speth
36a15fc685
Apply simplification due to no longer supporting g++ 4.7
2023-03-09 11:01:23 -06:00
Ray Speth
399e1cba3e
Prevent infinite recursion in Solution callbacks
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
cc6489db3b
[clib] Fix exception handling
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
7ffd9f9f9d
Clarify deprecation warnings
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
a5a8c4bfd6
[clib] Prevent memory leaks in lookup table
...
As the storage m_table can contain duplicate entries referencing the
same object, all entries need to be stored in the reverse lookup table.
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
fa6795238c
[clib] Add reverse lookup table to SharedCabinet
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
0b0159a30d
Rename Kinetics::addPhase to Kinetics::addThermo
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
4675ea029d
[.NET] Add solution to sourcegen configuration
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
2617e20b11
[unittests] Implement gtest for 'test-oneD'
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
1f16bf247e
[unittest] Implement gtest for 'test-clib'
...
Unit tests cover 'clib' from within C++ googletest code
- port test-clib to google tests
- rename pre-existing version to test-clib-demo
- add tests indirectly probing SharedCabinet
- add tests for Solution access routines
- add tests for ctonedim
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
d84af4315c
[Python] Update API
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
dd8dba2bca
[test-problems] Replace legacy factory methods
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
85758763ff
[unittests] Remove legacy factory methods
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
7efc12d4f0
[fortran] Switch to smart clib cabinets
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
ff9544f77e
[clib] Adopt review comments
2023-03-06 18:02:07 -06:00
Ingmar Schoegl
0c31f7e489
[Thermo] Shorten newThermoBase to newThermo
2023-03-06 18:02:07 -06:00