Commit graph

43 commits

Author SHA1 Message Date
Ray Speth
2523890b6d Fixed compiler warnings in regression tests 2012-05-11 15:28:02 +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
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
75db210a43 Merge branch 'pecos_autotools' into 'trunk'
This merge skips some of the source tree rearrangement from the
autotools branch, so the autotools build system is not presently
working.

Conflicts:
	Cantera/cxx/include/kinetics.h
	Cantera/cxx/include/zerodim.h
	Cantera/cxx/src/Cantera.h
	Cantera/cxx/src/importPhase.cpp
	Cantera/cxx/src/importPhase.h
	Cantera/cxx/src/thermo.h
	Cantera/cxx/src/transport.h
	Cantera/ext/f2c_libs/arith.hwin32
	Cantera/ext/f2c_libs/arithchk.c
	Cantera/ext/f2c_libs/ftell64_.c
	Cantera/ext/f2c_libs/pow_qq.c
	Cantera/ext/f2c_libs/qbitbits.c
	Cantera/ext/f2c_libs/qbitshft.c
	Cantera/ext/f2c_math/mkl_cblas.h
	Cantera/ext/f2c_recipes/Makefile.in
	Cantera/ext/f2c_recipes/simp1.c
	Cantera/ext/f2c_recipes/simp2.c
	Cantera/ext/f2c_recipes/simp3.c
	Cantera/ext/f2c_recipes/simplx.c
	Cantera/ext/f2c_recipes/splie2.c
	Cantera/ext/f2c_recipes/splin2.c
	Cantera/ext/f2c_recipes/spline.c
	Cantera/ext/f2c_recipes/splint.c
	Cantera/ext/recipes/Makefile.in
	Cantera/ext/recipes/simp1.f
	Cantera/ext/recipes/simp2.f
	Cantera/ext/recipes/simp3.f
	Cantera/ext/recipes/simplx.f
	Cantera/ext/recipes/splie2.f
	Cantera/ext/recipes/splin2.f
	Cantera/ext/recipes/spline.f
	Cantera/ext/recipes/splint.f
	Cantera/ext/tpx/CMakeLists.txt
	Cantera/ext/tpx/ideal.cpp
	Cantera/ext/tpx/lkw.cpp
	Cantera/ext/tpx/lkw.h
	Cantera/src/base/config.h.in
	Cantera/src/converters/ck2ctml.cpp
	Cantera/src/converters/ck2ctml.h
	Cantera/src/numerics/NonlinearSolver.cpp
	Cantera/src/numerics/ctlapack.h
	Cantera/src/numerics/sort.cpp
	ChangeLog
	License.rtf
	docs/install_examples/cygwin_gcc344_f2c_numeric.sh
	docs/install_examples/linux.64_sierra_gcc444_python264_numpy
	docs/install_examples/linux_rhel5_64_gcc424_dbg_python264_numpy
	docs/install_examples/sol10_64bit_CC57_py24_numarray
	examples/cxx/flame1.cpp
	ext/f2c_libs/arithchk.c
	ext/f2c_libs/arithchk/arithchk.c
	ext/math/gmres.h
	test_problems/ChemEquil_gri_pairs/runtest
	test_problems/ChemEquil_ionizedGas/runtest
	test_problems/ChemEquil_red1/basopt_red1.cpp
	test_problems/VCSnonideal/NaCl_equil/Makefile.in
	test_problems/VPsilane_test/runtest
	test_problems/cathermo/DH_graph_1/runtest
	test_problems/cathermo/DH_graph_NM/runtest
	test_problems/cathermo/DH_graph_Pitzer/runtest
	test_problems/cathermo/DH_graph_acommon/runtest
	test_problems/cathermo/DH_graph_bdotak/runtest
	test_problems/cathermo/HMW_dupl_test/runtest
	test_problems/cathermo/HMW_graph_GvI/HMW_graph_GvI.cpp
	test_problems/cathermo/HMW_graph_GvT/HMW_graph_GvT.cpp
	test_problems/cathermo/VPissp/runtest
	test_problems/cathermo/ims/runtest
	test_problems/cathermo/issp/runtest
	test_problems/cathermo/stoichSubSSTP/runtest
	test_problems/cathermo/testIAPWS/runtest
	test_problems/cathermo/testIAPWSPres/runtest
	test_problems/cathermo/testIAPWSTripP/runtest
	test_problems/cathermo/testWaterPDSS/runtest
	test_problems/cathermo/testWaterTP/runtest
	test_problems/cathermo/wtWater/runtest
	test_problems/cxx_ex/equil_example1.cpp
	test_problems/cxx_ex/examples.cpp
	test_problems/cxx_ex/kinetics_example1.cpp
	test_problems/cxx_ex/kinetics_example2.cpp
	test_problems/cxx_ex/kinetics_example3.cpp
	test_problems/cxx_ex/rxnpath_example1.cpp
	test_problems/cxx_ex/transport_example1.cpp
	test_problems/cxx_ex/transport_example2.cpp
	test_problems/mixGasTransport/runtest
	test_problems/nasa9_reader/runtest
	test_problems/negATest/runtest
	test_problems/printUtilUnitTest/runtest
	test_problems/pureFluidTest/runtest
	test_problems/rankine_democxx/runtest
	test_problems/silane_equil/runtest
	test_problems/surfSolverTest/runtest
	test_problems/surfSolverTest/runtest2
	test_problems/surfkin/runtest
	tools/testtools/Makefile.in
2012-02-10 16:22:02 +00:00
Nicholas Malaya
da16edb98b [cantera]: adding surfkin test 2012-02-07 17:48:01 +00:00
Nicholas Malaya
35c088a406 [cantera]: removing all these makefile.in's 2012-02-07 16:43:23 +00:00
Ray Speth
d832f32625 Eliminated the Cantera_CXX namespace 2012-01-23 03:35:46 +00:00
Ray Speth
9e1fdfe39a Eliminated CVS keyword cruft 2012-01-09 17:32:01 +00:00
Ray Speth
71588d307d Remove files for Autotools and Visual Studio build systems 2011-12-14 19:38:10 +00:00
Harry Moffat
201117842e ignore list maintenance. 2009-07-29 15:22:58 +00:00
Harry Moffat
70647c85ed Initial Import 2009-07-27 23:17:19 +00:00
Harry Moffat
22ba9fd676 Rebaselined a few problem.s 2008-10-31 15:43:57 +00:00
Harry Moffat
2f259c6f6a Worked on making the Makefiles more uniform 2008-05-06 23:32:07 +00:00
Harry Moffat
c22dfbd9c2 Added a test against build_with_f2c
Took out src_dir_tree checks
2008-01-15 16:54:27 +00:00
Harry Moffat
013dbdbac2 Rebaselined the problem - species name change 2008-01-14 22:06:07 +00:00
Dave Goodwin
a22145b832 *** empty log message *** 2008-01-09 13:43:26 +00:00
Harry Moffat
10e862e8ab Added Cantera_CXX namespace 2008-01-01 19:01:42 +00:00
Dave Goodwin
ba5928083f added thread safety option 2007-05-10 03:28:30 +00:00
Dave Goodwin
5d8430431f minor cleanup 2007-05-04 15:48:43 +00:00
Dave Goodwin
fea8c985f5 reorganized source tree, changed include files, etc. 2007-05-04 15:18:40 +00:00
Harry Moffat
51a5f82474 Doxygen update:
Added info to DebyeHuckel. It's getting to be near a documented state.
test suite fix:
   fixed Makefile.in's. The .depends were not being included in the Makefiles.
   It should now be more stable.
2007-03-11 19:46:14 +00:00
Harry Moffat
289eb43afb solaris port
added the CXX_DEPENDS variable.
2006-12-14 18:43:08 +00:00
Dave Goodwin
ce73f8bacd removed using namespace statements from Cantera header files, and fully qualified most members of std (string, vector< >, etc.) in header files. User programs may need to have "using namespace" statements added. 2006-11-27 21:43:30 +00:00
Harry Moffat
ba3601c041 Changed surfdemo.cpp to read gri30.xml.
Thus, this test will pass if python option is set to none.
2006-06-20 22:36:12 +00:00
Harry Moffat
1421eb3867 Solaris changes. 2006-04-30 21:43:56 +00:00
Dave Goodwin
f5ffa16a48 changed from using ctvector to using std::vector. Required replacing v.begin() in many places by &v[0]. Macro DATA_PTR(v) defined for readability. 2006-04-28 17:22:23 +00:00
Harry Moffat
6bf3be84c3 Fixed the program so that it can be run from srcdirtree and install tree 2006-03-03 14:43:34 +00:00
Dave Goodwin
08fa7e3d02 changed some variable names to eliminate leading ddouble (and some single) underscores 2005-11-22 17:59:04 +00:00
Dave Goodwin
9bd690ae04 Prerelease_1_6_0_branch merged into trunk 2005-06-18 16:58:39 +00:00
Harry Moffat
c478aa74dd turned off automatic compilation during make test for windows machines. 2004-09-16 17:52:37 +00:00
Harry Moffat
4c9219b612 added -w option to diff, so that dos unix text file differences
aren't important.
2004-08-09 22:21:04 +00:00
Harry Moffat
57aebcba39 Added files 2004-08-09 16:50:01 +00:00
Harry Moffat
39f9739db6 Added a return statement. 2004-08-06 23:09:53 +00:00
Harry Moffat
447a76e55b Changed required file from gri30.xml to gri30.cti. 2004-08-06 20:26:55 +00:00
Harry Moffat
11d73d12c1 Added depends target to makefiles 2004-07-29 22:14:33 +00:00
Harry Moffat
57a61320fb Added a depends capability 2004-07-28 23:36:09 +00:00
Harry Moffat
57c2c29c47 Changed the xml file to have the same element ordering as the
gri file's elements.
2004-01-14 16:03:36 +00:00
Dave Goodwin
88a5ab4ebd added definition of CANTERA_DATA 2004-01-02 01:02:03 +00:00
Harry Moffat
34ff876182 Rebaselined the problem. The solution changed in the 4th sig digit,
because, I think, the physical constants changed in ct_defs.h
2003-08-21 22:25:13 +00:00
Harry Moffat
ed7949cd4a Updated the xml data file 2003-08-07 21:49:25 +00:00
Harry Moffat
2158086053 Added a simple test that calculate a rate of production for a surface
mechanism
2003-08-06 17:32:02 +00:00