853 Commits

Author SHA1 Message Date
Ray Speth
3dc77c0505 [1D] Make Jacobian perturbations configurable 2025-02-01 14:15:18 -06:00
Ray Speth
d20753ccc6 [Test] Migrate multiGasTransport to GTest 2024-12-12 08:40:46 -06:00
Ray Speth
5b5dd52505 [Test] Migrate mixGasTransport to GTest suite 2024-12-12 08:40:46 -06:00
Ingmar Schoegl
18b6a67e7c [SCons] Replace from buildutils import * 2024-09-28 16:41:43 -05:00
Christopher Neal
083ff451d9 two-point flame control c++ additions 2024-06-21 14:23:34 -04:00
Ray Speth
add82cfe14 Ignore sample output file 2024-06-10 21:17:16 -05:00
Ray Speth
c260e7bcc1 [CI] Run Python tests in parallel 2024-06-05 10:11:23 -04:00
Ray Speth
43b1fffe14 [SCons] Add commands for building (but not running) tests 2024-06-05 10:11:23 -04:00
Ray Speth
0d362b7bfe [SCons] Avoid creating extra copy of data files in build/data 2024-04-11 08:57:01 -04:00
Ray Speth
7efb996335 [Test] Run C++ programs from User Guide as part of test suite 2024-01-16 17:17:39 -05:00
g3bk47
9588047e43 [1D] Use midpoint properties for diffusion fluxes 2023-10-01 21:43:53 -04:00
Ray Speth
fc2185369d Use override on various utility classes 2023-08-15 14:21:04 -04:00
Ingmar Schoegl
64ade35c22 Using std::string 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
Gandhali Kogekar
d12f11a952 Modifications to the test outputs 2023-06-22 17:18:47 -04:00
Ray Speth
2eccea007c [SCons] Avoid unnecessary shared library linkage
Applications do not need to link directly to Cantera's dependencies
when linking to the Cantera shared library
2023-06-21 09:09:15 -04:00
Ray Speth
cdc52ca37b [Test] Relax tolerances for f77-demo test
Resolves #1393
2023-06-21 09:09:15 -04: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
3e07f34f4f Update gitignore 2023-04-18 09:33:15 -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
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
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
7a69a67f2c Make use of make_unique
Also use make_shared more consistently
2023-03-09 11:01:23 -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
dd8dba2bca [test-problems] Replace legacy factory methods 2023-03-06 18:02:07 -06:00
Ingmar Schoegl
be392931fa [Transport] Deprecate legacy factory constructors 2023-03-06 18:02:07 -06:00
Ingmar Schoegl
34989299d2 [test-problems] Fix clib-test.c
Mole fractions have to be set before T and P; otherwise, the pressure
changes. Before the change, the pressure was significantly lower than
5 atm. Also fix incorrect use of 'kin_newFromFile', which causes
unintended linkages to default objects that do not raise exceptions
but may lead to erroneous results.
2023-03-06 18:02:07 -06:00
Ray Speth
1c5595e16c [SCons] Consolidate addition of build/lib to search path 2023-02-02 18:33:16 -06:00
Ray Speth
081f434cf6 [SCons] Link tests and samples to shared library on Windows 2023-02-02 18:33:16 -06:00
Ingmar Schoegl
71554f1ba9 [samples] Add Sim1D::save to cxx flamespeed sample 2023-01-12 14:05:37 -05:00
Ray Speth
f6744eca05 Make dimensionalization of IAPWS95 EOS consistent
The nondimensional EOS should always be dimensionalized to a mass
basis using the value of R given in the original source. Values on
a molar basis can then be computed consistently using the best available
value for the molecular weight of water.

Partially resolves #1315
2022-09-25 16:54:39 -04:00
Ingmar Schoegl
009342ab33 [samples] Add missing F77 samples to SCons and unit tests 2022-08-30 22:32:57 -05:00
Ingmar Schoegl
1472703cbd [SCons] Remove Cygwin support
Cygwin support is untested and Cygwin has uncertain usage for Cantera.
Modern replacements such as the Windows Subsystem for Linux v2 (WSL2)
should be used instead.
2022-08-24 21:26:29 -05:00
Sammo Gabay
0674273f63 Correct flushing logic in ExternalLogger 2022-08-17 10:39:54 -04:00
Ingmar Schoegl
7717daa79e Update test_problems/.gitignore 2022-08-09 10:48:25 -04:00
Ingmar Schoegl
c1ca2d6fb2 Remove interfaces/*/.gitignore 2022-08-09 10:48:25 -04:00
Ray Speth
9747fe8c9c Fix incorrect name/label in F90 sample 2022-08-09 06:51:27 -05:00
Ray Speth
43d2241423 Make volume of SurfPhase consistent with h = u + P*v
Defines molar volume to be zero. Density remains defined as being
per unit area or length, depending on the dimensionality of the phase.

Also fixes setting surface composition using mass/mole fractions so
that the sum of concentrations always equals the site density.

Partially resolves #1312
2022-08-09 06:51:27 -05:00
Ray Speth
e06ad6ba80 [Thermo] Fix calculation of IdealMolalSoln::intEnergy_mole 2022-06-10 08:57:44 -05:00
Ray Speth
7e0f469eab Remove deprecated code slated for removal after Cantera 2.6 2022-05-25 04:02:58 -04:00
Ray Speth
2bd70c8e59 Remove CTI/XML from C++ 2022-05-25 04:02:58 -04:00
Ray Speth
98b0383c74 Remove XML/CTI format from Python interface 2022-05-25 04:02:58 -04:00
Ray Speth
fca204f11f [Fortran] Enable creating surfaces from YAML
Add an example of importing an interface phase / kinetics to the
F90 demo program
2022-05-25 04:02:58 -04:00
Ingmar Schoegl
dfbbf8f13b [Samples] Move sample input file to sample/data folder
LiC6_electrodebulk.yaml was the only file in data/sample-data. Moving this file
to samples/data mimics the input file location for the jupyter repository.
2022-03-03 09:07:17 -05:00