Commit graph

16 commits

Author SHA1 Message Date
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
0b8d2ec223 Removed includes of Cantera.h from the regression tests 2012-02-15 01:00:46 +00:00
Ray Speth
a942657698 Removed obsolete header selection logic from regression tests 2012-02-13 23:44:20 +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
afdf3fb2d1 Removed some empty comment lines 2012-01-19 20:30:04 +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
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
Harry Moffat
70647c85ed Initial Import 2009-07-27 23:17:19 +00:00
Harry Moffat
43ec65c716 Changes from old to new style C headers. 2008-12-17 17:31:12 +00:00
Dave Goodwin
fea8c985f5 reorganized source tree, changed include files, etc. 2007-05-04 15:18:40 +00:00
Harry Moffat
af38f45d1d Worked on VPStandardStateTP some more
Fixed an error in IdealMolalSoln -> density wasn't beeing recalculated.
      Updated the test problem with the fix.
Worked CANTERA_DEBUG_MODE into the Makefiles. It wasn't being used.
Split the multiproblem DH_graph_1 test into multiple directories, one per test
Worked on getting all of the test problems to have the same look, feel, and printout.
2007-03-09 21:04:42 +00:00
Harry Moffat
a0be1fcb5a Added namespace std 2006-11-28 20:19:36 +00:00
Harry Moffat
36993a1246 Added DEBUG_MODE flag to compilation line. 2006-08-14 21:00:14 +00:00
Harry Moffat
9520238fb1 Added 2 tests with debugging turned on. 2006-07-06 21:54:16 +00:00