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
d253fc0d63
Eliminate redundant standard library includes
2013-06-05 17:08:13 +00:00
Nicholas Malaya
4757cf6b69
cutting precision off to make tests less stringent: this makes me nervous but a test suite is useless unless it works under certain circumstances
2012-07-16 20:43:13 +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
06f0e6f1a2
using namespace Cantera_CXX addition
2008-02-16 21:47:15 +00:00
Harry Moffat
592167bea1
Fixed a parenthesis misplacement.
2007-09-12 21:40:32 +00:00
Harry Moffat
e346e62a73
Added a simple test that exercises the mixture gas transport
...
object on an arbitrary point. It produces an answer. The blessed
file will make sure the answer doesn't change going forward.
2007-07-31 20:33:18 +00:00