Commit graph

638 commits

Author SHA1 Message Date
Ray Speth
28154d847d [Test] Use more stable output for ChemEquil_ionizedGas
The test output previously included the nondimensional chemical potential
for each species. This contains a term equal to log(mole fraction). In
some of the cases in this test, there are species with very small mass
fractions, below the tolerances of the equilibrium solver, leading to
large apparent changes in the chemical potential for species which are
present in insignificant amounts.

The comparison of the equilibrium mole fractions in this test is retained
by using the "table.csv" file.
2013-06-17 14:19:47 +00:00
Ray Speth
9740980c5d Deprecate class GRI_30_Kinetics 2013-06-13 22:50:14 +00:00
Ray Speth
2483e39ae5 Allow tests to suppress deprecation warnings
This prevents certain tests from failing comparisons with blessed output files.
2013-06-05 17:09:46 +00:00
Ray Speth
d253fc0d63 Eliminate redundant standard library includes 2013-06-05 17:08:13 +00:00
Ray Speth
02112c7cde [Test] Fix test failures due deprecation warnings 2013-05-31 15:56:32 +00:00
Ray Speth
7d79b30c27 Removed unnecessary MIN and MAX macros 2013-04-29 18:05:10 +00:00
Ray Speth
43b8b7f35c [Test] Updated blessed output files for some tests
These are tests where the output changed as a result of correcting discontinuous
thermo.
2013-04-24 21:48:07 +00:00
Ray Speth
ca24ed8adf [Test] Disabled CpJump test
Since the jump in Cp is eliminated by the adjustments to the polynomial
coefficients, this test is not meaningful.
2013-04-24 21:47:59 +00:00
Ray Speth
a01b112967 [Test] Modified IMSTester to exclude output for minor species 2013-04-24 21:47:41 +00:00
Ray Speth
06f8418ff7 Reblessing output file for VCS-NaCl test following changes in r1944 2013-04-24 21:47:38 +00:00
Ray Speth
8e9f6fcfe6 [Test] Fix VCS-LiSi to match the original from extendedCXXTestSuite 2013-04-24 21:47:33 +00:00
Ray Speth
e1702e74a8 [Test] Updated blessed output files using correct physical constants
The output for these tests changed after the values of the physical constants
were updated in r1539.
2013-04-24 21:47:27 +00:00
Ray Speth
71bc4afe3b Replaced blessed file for cxx_ex equilibrium test
This test uses an input file (silane.xml) that has discontinuous thermo data
(specifically, for s/R), so its results are affected by the corrections applied
to make the thermo functions continuous.
2013-04-18 22:07:05 +00:00
Ray Speth
934010136d Removed unnecessary temporaries used for storing return values 2013-02-14 01:04:07 +00:00
Ray Speth
3b78634381 Removed extraneous parentheses around arguments to 'delete'.
'delete' is a keyword, not a function, so the parens are not necessary.
2013-02-14 01:03:42 +00:00
Ray Speth
6d6e237f07 Removed unnecessary checks surrounding delete operations 2013-02-14 01:03:32 +00:00
Ray Speth
9c8b14b12c Updated .gitignore to ignore test binaries on Windows 2013-02-14 01:02:27 +00:00
Ray Speth
7da738d238 Re-applied consistent formatting to trunk
Applied using: astyle -n --style=kr --add-brackets --indent=spaces=4
--indent-col1-comments --unpad-paren --pad-header --align-pointer=type
--lineend=linux
2013-02-07 23:40:59 +00:00
Ray Speth
8e7e81570a [SCons] Always re-run explicitly named tests 2013-01-11 22:56:40 +00:00
Ray Speth
8ed67089e5 Fixed some compiler warnings in the regression tests 2012-12-26 23:56:13 +00:00
Harry Moffat
ea25de7fe7 Continuing transfering LiquidTransport changes, doing bugfixes, and
qualifying against our testsuite.
2012-12-15 00:49:14 +00:00
Ray Speth
04fb86b1ea Added a new SCons configuration variable 'warning_flags'
This allows use of more extensive warning settings for the code that's actually
part of Cantera without generating excessive warnings on code automatically
generated code (e.g. f2c) or code that isn't part of Cantera proper (e.g. gtest,
libexecstream).
2012-11-14 21:07:03 +00:00
Ray Speth
9fdb345fdd Updated .gitignore for test binaries 2012-11-14 21:07:01 +00:00
Harry Moffat
a0b96b6fe9 Started taking out return statements. They are only used in functions. 2012-11-07 23:44:40 +00:00
Ray Speth
94f85db5c5 Eliminated some redundant code in cxx_ex transport tests 2012-10-24 15:44:42 +00:00
Ray Speth
fcb46460cc Clean up of some of the test code 2012-10-24 15:44:33 +00:00
Ray Speth
1d19803885 Pass "const std::string&" instead of "std::string" when possible 2012-10-24 15:42:51 +00:00
Ray Speth
3f17786c01 Removed some commented-out includes 2012-10-12 20:34:48 +00:00
Nicholas Malaya
66c9d4c1f0 updating, even if it is not working... will fiddle further 2012-08-17 22:55:47 +00:00
Nicholas Malaya
be97b0e7ba adding a new regression test 2012-08-17 21:53:35 +00:00
Nicholas Malaya
7a6b615843 adding statmech transport test 2012-08-17 21:25:11 +00:00
Nicholas Malaya
1e2e31ba16 updating the file include path 2012-08-17 21:23:37 +00:00
Ray Speth
a549782c7f Eliminated some unnecessary usage of strcpy 2012-08-17 16:44:50 +00:00
Ray Speth
85d9d360c7 Fixed a bunch of spelling issues 2012-08-17 16:43:34 +00:00
Ray Speth
021f66c755 Merge bug fixes from the 2.0 maintenance branch 2012-08-15 15:36:34 +00:00
Ray Speth
c092bbaede Fixed the order of include and library directories when compiling
Include directories in the Cantera source tree should be listed first so that
they take precedence over headers from other installed copies of Cantera that
might end up on the include search path. This was potentially a problem when
Cantera was installed in the same location (e.g. /usr/local) as one of its
dependencies (e.g. Sundials).

The same logic applies to directories on the library link path.
2012-08-10 21:03:06 +00:00
Ray Speth
bf727c2631 Removed redundant copies of some input files 2012-08-08 22:18:24 +00:00
Ray Speth
8849b2cd0c Fixed path used for CANTERA_DATA when running regression tests 2012-08-08 22:18:19 +00:00
Ray Speth
51a3decaa1 Moved some classes out of the global namespace into namespace Cantera 2012-08-08 22:18:15 +00:00
Ray Speth
f212e3b9d3 Removing leftover references to the Cantera_CXX namespace 2012-08-08 22:18:09 +00:00
Ray Speth
fc05538d0a Removed old copy of Cantera.h that snuck back in 2012-08-08 22:18:04 +00:00
Ray Speth
38a2495fa3 Added the dustyGasTransport test from the extendedCxxTestSuite 2012-08-02 15:48:58 +00:00
Ray Speth
bf2a6f2d51 Added the simpleTransport test from the extendedCxxTestSuite 2012-08-02 15:48:51 +00:00
Ray Speth
39f1c15c8a Added the stoichSolidKinetics test from the extendedCXXTestSuite 2012-08-02 15:48:43 +00:00
Ray Speth
85070e1d30 Added the LatticeSolid_LiSi test from the extendedCXXTestSuite 2012-08-02 15:48:36 +00:00
Ray Speth
6a78bea039 Added copyString as a consistent interface for copying std::string to char* 2012-08-02 15:48:27 +00:00
Ray Speth
88bb6fe679 Removed obsolete C++ Chemkin mechanism converter 2012-07-26 20:49:50 +00:00
Ray Speth
9801b03a50 Moved nasa9_reader test to Python 2012-07-26 20:49:26 +00:00
Ray Speth
13e188381d Moved ck2cti tests to the Python test suite 2012-07-26 20:49:18 +00:00
Ray Speth
3ce3da1fa2 Fixed code formatting 2012-07-18 18:32:29 +00:00