Commit graph

66 commits

Author SHA1 Message Date
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
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
70cdd1be3e Made linking to Sundials libraries more consistent 2012-03-01 00:44:50 +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
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
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
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
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
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
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
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
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
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
c7078a311a Replaced "inList" with std::find 2012-02-22 00:17:50 +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
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
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
Ray Speth
708b78f68b Replaced incorrect manual memory management with std::vector 2012-02-17 20:28:58 +00:00
Ray Speth
4d3814d1cf Fixed a bug with Python Distutils and relative source paths 2012-02-15 23:31:37 +00:00