Commit graph

3564 commits

Author SHA1 Message Date
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
Ray Speth
de32aba15d All Debye-Huckel tests use a shared copy of the test executable 2012-02-22 00:17:12 +00:00
Ray Speth
ce5abaca0e All tests using class fileLog now use a shared copy 2012-02-22 00:17:01 +00:00
Ray Speth
01e63f004e All tests using TemperatureTable.h now use a shared copy 2012-02-22 00:16:48 +00:00
Ray Speth
437294ae00 Removed previously-deprecated array_fp typedef 2012-02-22 00:16:22 +00:00
Ray Speth
18bce3bc62 Fixed lines ending with doubled semicolon. 2012-02-22 00:16:10 +00:00
Ray Speth
055b6e5710 Fixed issues compiling with MinGW using SCons 2012-02-21 16:06:07 +00:00
Ray Speth
7b96fa73c4 Fixed an implicit standard library dependency
This was preventing some of the tests from compiling
2012-02-21 16:06:02 +00:00
Ray Speth
28270820a5 Use std::swap instead of homegrown alternatives 2012-02-21 16:05:53 +00:00
Ray Speth
35429de71c Fixed a bunch of spelling errors in the documentation and comments 2012-02-21 16:04:09 +00:00
Ray Speth
fe8a5d49a8 Use std::min and std::max instead of homegrown alternatives 2012-02-21 16:03:32 +00:00
Ray Speth
30d233474a Use std::min and std::max instead of preprocessor macros 2012-02-21 16:03:09 +00:00
Ray Speth
9eb0f440a5 Added deprecation messages for numarray, numeric, and old Sundials versions 2012-02-21 16:03:01 +00:00
Ray Speth
ccd0f01584 Fixed a python-distutils problem with the Windows SDK 2012-02-17 20:30:15 +00:00
Ray Speth
36c5d0ff96 Fixed more compiler warnings (MSVC 9.0) 2012-02-17 20:30:03 +00:00
Ray Speth
f74abb48f0 Fixed GCC warnings 2012-02-17 20:29:50 +00:00
Ray Speth
e8b04fb2b4 Fixed numerous compiler warnings from MSVC 2012-02-17 20:29:10 +00:00