Commit graph

3580 commits

Author SHA1 Message Date
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
Ray Speth
3f3df652c6 Fixed a bug in the assignment operator of class vcs_VolPhase
m_numSpecies was used before being updated, which could lead to a
segmentation fault when resizing m_formulaMatrix to be M-by-zero.
2012-02-27 18:12:24 +00:00
Ray Speth
8f4f72369e Use the associated Cabinet to look up an item's index
This allowed removal the m_index member and associated methods
of the ThermoPhase, Kinetics, and Transport classes.
2012-02-27 18:12:13 +00:00
Ray Speth
3b1694fdfb Class Storage has been eliminated in favor of class Cabinet 2012-02-27 18:12:00 +00:00
Ray Speth
2da9603a15 Streamlined interface to class Cabinet 2012-02-27 18:11:47 +00:00
Ray Speth
3648bfef39 Use of deprecated functions generates compiler warnings 2012-02-27 18:11:39 +00:00
Ray Speth
f1e807d314 Moved global variables from tpx namespace into class Substance
This fixes failures in the pureFluid test on OSX with certain
compilier optimizations enabled.
2012-02-27 18:11:28 +00:00
Nicholas Malaya
69614a021b [cantera]: updating configure.ac so I can start migrating and re-merging branch into spiffy new cantera master project 2012-02-27 18:07:21 +00:00
Ray Speth
8c23a12152 Removed attempt to get PYTHON_CMD from setup_cantera
This code didn't work because changes in the environment of the
system(...) call aren't propagated back to the caller.
2012-02-24 03:17:39 +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
1ece5bcc3d Some changes to make SCons faster 2012-02-23 21:25:20 +00:00
Ray Speth
b6376f1e00 Include Sundials in the Cantera Python module when necessary 2012-02-23 21:25:13 +00:00
Ray Speth
9bcc42b758 Fixed PYTHONPATH when running tests 2012-02-23 21:25:09 +00:00
Ray Speth
35007e0fc9 Combined negATest and min_python/negATest to use the same code 2012-02-23 21:25:03 +00:00
Ray Speth
e5fe4fff9c Fixed negative array indexing errors in negAtest 2012-02-23 21:24:58 +00:00
Ray Speth
db8e338e52 Fixed size_t issues in CVodesIntegrator 2012-02-23 21:24:53 +00:00
Ray Speth
ee0fe68e16 Fixes for building shared libraries on OS X. 2012-02-23 21:24:48 +00:00
Ray Speth
b203b88085 IDA_Solver requires Sundials 2.4 2012-02-23 21:24:42 +00:00
Ray Speth
bbb3b4cbfa Fixed module include directory for old versions of gfortran 2012-02-23 21:24:38 +00:00
Ray Speth
a0802e3ad0 Fixed some problems building with Fortran sources for BLAS, LAPACK, etc. 2012-02-23 21:24:32 +00:00
Ray Speth
6c181a92fe Removed manual specification of PIC flag
This is already handled in a platform-independent way by SCons
2012-02-23 21:24:27 +00:00
Ray Speth
c7078a311a Replaced "inList" with std::find 2012-02-22 00:17:50 +00:00
Ray Speth
d910af2e0f Fixed python-diamond test that was failing because of an incorrect path 2012-02-22 00:17:46 +00:00
Ray Speth
bd3adf4afe Fixed blessed output for HMW_test_1 to correspond to DEBUG_MODE being undefined 2012-02-22 00:17:37 +00:00
Ray Speth
16e82a3ab0 Remove unused definitions of the function pAtable from test_problems 2012-02-22 00:17:30 +00:00