Commit graph

21 commits

Author SHA1 Message Date
Ingmar Schoegl
a0350925a7 [test_problems] replace convenience wrapper classes by C++ Solution
- Remove dependence on IdealGasMix.h
2019-11-08 15:12:36 -05:00
Ray Speth
14b9454819 [C++] Clean up of top-level headers
These headers should only include general functionality, i.e. base classes and
factory methods. Users working directly with derived types can include the
relevant headers directly.

Deprecate some top-level headers which are not really useful.
2016-05-14 16:10:10 -04:00
Ray Speth
0647823ada Replace DATA_PTR macro with calls to data() 2015-10-17 18:58:50 -04:00
Ray Speth
5ed6d9a2af [Test] Fix compilation errors with VS2015 2015-09-08 12:26:58 -04:00
Ray Speth
6cc5652de6 Remove commented-out code 2015-07-20 17:20:46 -04:00
Ray Speth
d253fc0d63 Eliminate redundant standard library includes 2013-06-05 17:08:13 +00:00
Nicholas Malaya
c9acf2a5d3 [cantera]: lowering precision requirements in several tests 2012-07-17 15:50:35 +00:00
Ray Speth
16da33ad42 Fixed compiler warnings in the test suite 2012-05-25 23:13:30 +00:00
Ray Speth
d16f70ab44 Fixed some spelling issues 2012-04-04 18:44:24 +00:00
Ray Speth
54efbaa320 Rewrote exception handling to be more general and more explicit
CanteraError inerits from std:exception, so now it has a what() method
that is used to print a message describing the exception. Adding an
exception to the Cantera error stack now requires explicitly calling
the .save() method.
2012-03-05 20:45:56 +00:00
Ray Speth
16e82a3ab0 Remove unused definitions of the function pAtable from test_problems 2012-02-22 00:17:30 +00:00
Ray Speth
30d233474a Use std::min and std::max instead of preprocessor macros 2012-02-21 16:03:09 +00:00
Ray Speth
0b8d2ec223 Removed includes of Cantera.h from the regression tests 2012-02-15 01:00:46 +00:00
Ray Speth
1bffc6e150 Fix include paths for tests and samples 2012-02-12 02:47:21 +00:00
Ray Speth
a6f939c2fe Applied consistent formatting to all C++ code
Done using astyle:
astyle --style=kr --add-brackets --indent=spaces=4 --indent-col1-comments --unpad-paren --pad-header --align-pointer=type --lineend=linux
2012-02-10 17:24:00 +00:00
Ray Speth
d832f32625 Eliminated the Cantera_CXX namespace 2012-01-23 03:35:46 +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
Harry Moffat
6ded74a26d Added using namespace command 2008-02-16 21:48:00 +00:00
Harry Moffat
0535ba5982 Changed some formatting to 4 digits from 5. I was having trouble with
the last digit changing.
2007-12-19 16:50:02 +00:00
Harry Moffat
a85279c015 Cutoff low values so that comparisons pass between machines 2007-09-12 22:02:08 +00:00
Harry Moffat
6469863f62 Addition of basic test for multiTransport object.
This just picks an arbitrary condition, calculates all of the
interfacial properties, and dumps it to an ascii file.
We want to ensure that the answer doesn't change over time.
2007-07-31 21:04:58 +00:00