Commit graph

722 commits

Author SHA1 Message Date
Ray Speth
32afe97ebd Removed 'using namespace Cantera' from all header files 2012-01-23 03:37:08 +00:00
Ray Speth
c708682e56 Removed 'using namespace std' from all header files 2012-01-23 03:36:42 +00:00
Ray Speth
ffec1b052a Combined CanteraZeroD and CanteraSpectra namespaces with Cantera 2012-01-23 03:36:13 +00:00
Ray Speth
d832f32625 Eliminated the Cantera_CXX namespace 2012-01-23 03:35:46 +00:00
Ray Speth
afdf3fb2d1 Removed some empty comment lines 2012-01-19 20:30:04 +00:00
Ray Speth
79c0f4afdc Added a script to simplify running coverage tests 2012-01-19 03:53:08 +00:00
Ray Speth
d17ba8fbcb Removed an accidentally-added file 2012-01-18 23:44:48 +00:00
Ray Speth
e887d2fbbc Eliminated "sortAlgoritms" from the tests in favor of std::sort 2012-01-18 03:42:57 +00:00
Ray Speth
f2bf17e1b7 Fixed some problems with the tests caused by the int to size_t conversion 2012-01-17 04:11:40 +00:00
Ray Speth
453576f0ad Removed MSVC-specific compiler warning suppression 2012-01-17 04:09:18 +00:00
Ray Speth
32bcd0314f Removed a few unused files from the regression tests 2012-01-09 17:35:51 +00:00
Ray Speth
b6fa3d9701 Made results of 'cxx_ex' test consistent 2012-01-09 17:35:43 +00:00
Ray Speth
b88846e5e0 Fixed C++ tests that were failing under Windows
Visual Studio defaults to 3-digit exponents when printing in scientific
notation. The tests now use a MSVC-specific function to change this
behavior when necessary.
2012-01-09 17:35:28 +00:00
Ray Speth
7ac1cb4dd4 Removed required input from 'rankine_democxx' test 2012-01-09 17:35:14 +00:00
Ray Speth
85c34049b6 Added support for running single tests with SCons
Run the 'foo' test with 'scons test-foo'.
Also simplified the names for many tests.
2012-01-09 17:35:06 +00:00
Ray Speth
9e1fdfe39a Eliminated CVS keyword cruft 2012-01-09 17:32:01 +00:00
Ray Speth
8b699082c8 Removed cantera/kernel from include path
The "cantera/kernel" directory is now part of the include path only
when building the Cantera kernel. All other modules include files in
this directory as "kernel/header.h".

This fixes a problem distinguishing between kernel/Kinetics.h and
kinetics.h on Windows.
2012-01-09 17:31:21 +00:00
Nicholas Malaya
035a270118 [cantera]: removing a few files and chaning some library paths 2012-01-04 05:49:44 +00:00
Nicholas Malaya
92abf1f919 [cantera]: changing relative directory of all generated libraries to build directory, in keeping with cantera 1.8 standard. Next: make working 'make check'! 2012-01-04 00:42:46 +00:00
Ray Speth
124f8b9f6b Tests now look for elements.xml in the source tree. 2011-12-20 03:06:35 +00:00
Ray Speth
71588d307d Remove files for Autotools and Visual Studio build systems 2011-12-14 19:38:10 +00:00
Ray Speth
d587c093de Clean up most artifacts of building the tests under Windows 2011-12-14 19:36:40 +00:00
Ray Speth
00fdf5d3f5 SCons now continues over failed tests and prints a summary at the end 2011-12-14 19:36:21 +00:00
Ray Speth
d2eba8e5e0 Fixed ck2cti tests to run under Windows 2011-12-14 19:36:17 +00:00
Ray Speth
b44ebe45a3 SCons now runs all of the Python regression tests 2011-12-14 19:36:12 +00:00
Ray Speth
c3f4972f52 Improvements to the SCons regression test handler
Refactored SCons testing code to handle tests using prebuilt binaries.
Now handles regression tests where the standard output is ignored.
Also, allows regression tests to ignore lines starting with specified
strings.
2011-12-14 19:36:03 +00:00
Ray Speth
be92c4cbc5 Added support for command line options for regression tests 2011-12-14 05:55:40 +00:00
Ray Speth
5c95d30807 Use relative tolerances for comparing csv file in regression tests
Each test can have a different threshold and tolerance, reducing the
need to recreate blessed output files in response to small numerical
changes.
2011-12-14 05:55:35 +00:00
Ray Speth
9ff2c93615 Modified the cxx_ex tests to generate consistent output 2011-12-14 05:55:29 +00:00
Ray Speth
d7a384e25d Extended SCons testing to be able to handle multiple output files
Extra files to be compared are passed as a list of tuples of
(blessed_output, test_output) using the 'comparisons' keyword
argument.
2011-12-14 05:55:24 +00:00
Ray Speth
ea63e3163a Moved remaining C++ tests out of examples/cxx 2011-12-14 05:55:11 +00:00
Ray Speth
70c71b5448 SCons can now run most of the tests in the test_problems directory
Does not yet handle tests with multiple outputs or tests requiring
additional command line arguments.
2011-12-14 05:55:05 +00:00
Ray Speth
a9028d6b77 Added test building and running capabilities to SCons scripts 2011-12-14 05:54:56 +00:00
Nicholas Malaya
5af8b69446 [cantera+autotools]: adding aminclude.am 2011-12-09 23:46:41 +00:00
Nicholas Malaya
b44aef4ccb [cantera+autotools]: adding test directory required tests 2011-12-09 23:44:20 +00:00
Nicholas Malaya
9af95b0aed [cantera]: fixing up whitespace issue here 2011-12-09 06:16:55 +00:00
Nicholas Malaya
21960f5402 [cantera+autotools]: adding makefile.am in test_problems 2011-11-11 16:07:23 +00:00
Nicholas Malaya
68d07c5bad [cantera+autotools]: a few more edits, adding another makefile.am in examples (which will have to be edited further downstream) 2011-11-11 00:44:27 +00:00
Harry Moffat
b9c9f81761 Made the BandMatrix class and SquareMatrix inherit from a common
parent so that they can be used interchangeably in other software.

Removed PsuedBinaryVPSSTP in favor of MolarityIonicVPSSTP
2011-10-19 20:45:06 +00:00
Harry Moffat
d660415067 Rebaselined. 2011-08-01 22:07:28 +00:00
Harry Moffat
ff7e66e5a3 This update adds in a Multicomponent Real Gas capability to Cantera.
The Object is called RedlichKwongMFTP, and it implements a multicomponent real gas approximation.
Most of the functionality has been verified against sample problems involving the CO2-H2O system.
2011-07-23 00:30:35 +00:00
Harry Moffat
60ae1d2c11 Small rebaseline for roundoff error 2011-04-19 16:45:04 +00:00
Harry Moffat
0d33823d9e Reblessed this test 2011-03-29 15:17:42 +00:00
Harry Moffat
ff3ebb25c2 Merge of the main branch into the LiquidTransportDevelop branch. 2010-11-12 21:37:41 +00:00
Harry Moffat
fa56309462 Modifications to the Makefiles to make the THREAD_SAFE_CANTERA ifdef
block work again.
2010-11-12 19:18:49 +00:00
Harry Moffat
f26ff94525 Changed NaCl_equil printouts due to rebaseline.
Fixed Makefile error
2010-10-22 22:30:24 +00:00
Harry Moffat
7905ea977f Rebaselined some test problems. 2010-10-04 23:00:26 +00:00
Harry Moffat
741d094065 Updated the test 2010-08-14 18:29:39 +00:00
Harry Moffat
8f8b83e0a2 Changed the runtest so that a value of 0 returned from csvdiff
indicates a successful test. Previously, it had been a 1. 
These tests in this branch weren't changed in my commit of last week.
2010-04-05 16:35:49 +00:00
Harry Moffat
1e77c40db0 Small changes 2010-04-02 19:44:08 +00:00