Commit graph

26 commits

Author SHA1 Message Date
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
a945ef2c23 Make use of initializer lists where appropriate 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
063c2a261a Eliminate redundancy between get_XML_File and get_CTML_Tree
get_CTML_Tree and getCtmlTree are now deprecated in favor of get_XML_File
2014-07-30 16:58:55 +00:00
Ray Speth
d253fc0d63 Eliminate redundant standard library includes 2013-06-05 17:08:13 +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
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
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
f7a4e3de64 diamondSurf and min_python/diamond tests now use the same code 2012-02-23 21:25:27 +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
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
Dave Goodwin
fea8c985f5 reorganized source tree, changed include files, etc. 2007-05-04 15:18:40 +00:00
Harry Moffat
40255fcf4c doxygen update
More work on MultiPhase. Fixed some errors in elementAbundance calc
   too.
Added the definitions
   AssertTrace(), AssertThrow(),  and AssertThrowMsg() for a  debug assertion
   capability. Added them to a test problem to make sure that
   they actually compile.
2007-03-29 23:54:32 +00:00
Harry Moffat
6b2b1ad51a Doxygen update for SurfPhase
Also added a Surfphase(XML_node &) constructor.
2007-02-23 16:52:07 +00:00
Harry Moffat
bbcaebc26c changed the input file to diamond.xml, so that python="none" installations
will pass this test.
2006-06-20 22:48:41 +00:00
Harry Moffat
6e02cbd8e3 Fixed this test so that it can work in the srcdirtree environment. 2006-03-03 15:29:44 +00:00
Dave Goodwin
a6b65715d7 *** empty log message *** 2005-09-13 17:10:43 +00:00
Dave Goodwin
9bd690ae04 Prerelease_1_6_0_branch merged into trunk 2005-06-18 16:58:39 +00:00
Harry Moffat
e8ef43a92b loosened the tolerances on nil printing 2003-09-05 16:57:34 +00:00
Harry Moffat
27234d168d Fixed the Makefile.in, undated runDiamond to print out more nulls,
and changed the solution back. I had an error in my Cantera version
that created an undocumented changed in the result.
2003-09-05 16:20:06 +00:00
Harry Moffat
f4d6969b11 Rebaselined due to change in units 2003-09-03 20:00:37 +00:00
Harry Moffat
c04c3087f7 Rebaselined test, because the answer changed in the 4th digit. I think
it is due to the change in physical constants in ct_defs.h
2003-08-21 22:23:55 +00:00
Harry Moffat
89a7522ad6 Added a new test problem 2003-08-20 19:36:43 +00:00