Commit graph

3604 commits

Author SHA1 Message Date
Ray Speth
9cdf079d2d Added templated generic exception handler for clib functions 2012-03-05 20:46:34 +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
e3b5ee802e Contents of misc.cpp relocated
The functions formerly defined in misc.cpp are now defined in the
source files corresponding to the header files where they were
declared.
2012-03-05 20:45:31 +00:00
Ray Speth
8150f49c2c Simplified adding SCons build and install targets 2012-03-05 20:45:20 +00:00
Ray Speth
a3b1946871 Generate SConstruct files and Makefiles in the build directory 2012-03-05 20:45:09 +00:00
Ray Speth
3a15fef000 legacy_headers option now installs Cantera.h 2012-03-05 20:45:03 +00:00
Ray Speth
2e695a67de Exclude certain file patterns from being installed with the samples 2012-03-05 20:44:58 +00:00
Ray Speth
489469b6bf Added example Makefiles to install with the F77/F90 samples 2012-03-05 20:44:52 +00:00
Ray Speth
21100f1cb0 Fixed Jacobian evaluation problems in AxiStagnFlow::eval 2012-03-05 20:44:46 +00:00
Ray Speth
38322d720a Fixed indexing problems when evaluating Jacobian for 1D simulations 2012-03-01 16:56:36 +00:00
Ray Speth
c3398e7a3e Added example SConstruct files to install with F77/F90 sample programs 2012-03-01 16:56:29 +00:00
Ray Speth
50d799aa1a Removed some empty directories that git left behind 2012-03-01 00:52:26 +00:00
Ray Speth
5be672535a Added documentation note on compiling Sundials with -fPIC 2012-03-01 00:45:08 +00:00
Ray Speth
6924e9f69f Added example SConstruct files to install with C++ sample programs 2012-03-01 00:45:03 +00:00
Ray Speth
45fe098d51 Added example Makefiles to install with C++ sample programs 2012-03-01 00:44:56 +00:00
Ray Speth
70cdd1be3e Made linking to Sundials libraries more consistent 2012-03-01 00:44:50 +00:00
Ray Speth
b3be325ade Set default compiler flags for llvm-gcc 2012-03-01 00:44:46 +00:00
Ray Speth
c7e91eec99 Made Doxygen less obnoxiously verbose 2012-03-01 00:44:42 +00:00
Ray Speth
5c5bff7d79 Removed unused function 'smlequ' 2012-03-01 00:44:38 +00:00
Ray Speth
6a9f3ea892 Marked some unused functions as deprecated 2012-03-01 00:44:31 +00:00
Ray Speth
8161a9aa5a Fixed incorrect documentation for getPureGibbs in some classes 2012-03-01 00:44:22 +00:00
Ray Speth
cf388bde90 Compilation guide updates: OS X, Clang/LLVM, MinGW 2012-02-28 23:48:58 +00:00
Ray Speth
77cd424821 Added support for compiling with Clang 2012-02-28 23:48:53 +00:00
Ray Speth
657ed19371 Fixed warnings related to printf/sprintf 2012-02-28 19:02:00 +00:00
Ray Speth
ffb7049a74 Marked a few unused member variables as deprecated 2012-02-28 19:01:50 +00:00
Ray Speth
e487d95054 Fixed a few "unused variable" warnings 2012-02-28 19:01:43 +00:00
Ray Speth
8877f95e3c Modified some compiler warning settings 2012-02-28 19:01:35 +00:00
Ray Speth
bb72897c8b Deprecated the Kinetics::ID() method
The type() method should be used instead.
2012-02-28 19:01:27 +00:00
Ray Speth
e5da0d268d Fixed declaration of importSolution in StFlow 2012-02-28 19:01:20 +00:00
Ray Speth
a304b7393b Fixed Python unit tests to work with Python 2.6 2012-02-27 18:16:16 +00:00
Ray Speth
ef0d68a2e0 Make Scons "debug" and "optimization" options independent 2012-02-27 18:16:10 +00:00
Ray Speth
31c7c36921 Added legacy_headers option to SCons
This will create symlinks (on posix systems) or copies (on Windows)
of the Cantera headers in the 'canterna/kernel' directory,
corresponding to the behavior of older versions of Cantera.
2012-02-27 18:16:05 +00:00
Ray Speth
6195b488c2 Allow compilation of the Fortran 90 module with MinGW 2012-02-27 18:16:00 +00:00
Ray Speth
27314703a0 Fixed qualifiers for functions that are part of the Cantera DLL 2012-02-27 18:15:47 +00:00
Ray Speth
981a04a325 Split Kinetics::kineticsSpeciesIndex into two separate functions 2012-02-27 18:15:41 +00:00
Ray Speth
b07ca01a54 Made surfSolver test more reliable with different compilers
Compare only the 'results.txt' file instead of what's printed
to stdout, which contains numerical residuals that tend to change.
2012-02-27 18:15:35 +00:00
Ray Speth
fde60d2f38 Fixed comparison of numbers of the form 2e-008 in the regression tests 2012-02-27 18:15:31 +00:00
Ray Speth
1e5d4d50e1 Fixed an array indexing error in tpx::Water::ldens 2012-02-27 18:15:27 +00:00
Ray Speth
236756fbf0 Removed rogue tabs in the C++ source code 2012-02-27 18:15:02 +00:00
Ray Speth
8bce9d7332 Fixed compiler warnings revealed by MinGW 2012-02-27 18:14:43 +00:00
Ray Speth
7f12656925 Fixed some self-assignment errors 2012-02-27 18:14:35 +00:00
Ray Speth
a4a81b94eb Deprecated SpeciesThermo::modifyParams 2012-02-27 18:14:29 +00:00
Ray Speth
b955395ed1 Skip cast from size_t to int when calling int2str 2012-02-27 18:14:17 +00:00
Ray Speth
af6303a67e Removed class ArrayViewer (use Array2D instead) 2012-02-27 18:14:08 +00:00
Ray Speth
6cc7f491a6 Removed some pointless comments 2012-02-27 18:14:00 +00:00
Ray Speth
d60c06127b Added tests for some methods of the Python Solution class 2012-02-27 18:13:53 +00:00
Ray Speth
6cb4bd93ce Cleaned up whitespace in all Python files using reindent.py
4 spaces per indentation level, no tabs, no trailing whitespace,
and a single newline at end of each file.
2012-02-27 18:13:05 +00:00
Ray Speth
b0ccecf4e4 Added machinery for running Python unit tests 2012-02-27 18:12:42 +00:00
Ray Speth
9d0d2ae7ef Fixed a bug where test-clean would delete things it shouldn't 2012-02-27 18:12:37 +00:00
Ray Speth
8b7dab08bd Added checks to avoid computing bogus column pointers for matrix types 2012-02-27 18:12:29 +00:00