Commit graph

1917 commits

Author SHA1 Message Date
Ray Speth
b6f80caadf Fixes to get the Matlab toolbox compiling in Windows 2012-01-09 17:30:39 +00:00
Ray Speth
b27b0daf0e Removed CANTERA_DATA from config.h
The CANTERA_DATA definition is used only in misc.cpp, so defining it
only when compiling this file reduces the amount of recompilation
required when the definition of CANTERA_DATA is changed.
2012-01-05 22:22:28 +00:00
Ray Speth
f40e5e352e Check registry for location of Cantera data files 2012-01-05 22:22:19 +00:00
Ray Speth
f645c4248c Fixes for building with the MS Platform SDK 2012-01-05 22:21:58 +00:00
Ray Speth
0df15021a2 Fix for using empty Python configuration variables 2012-01-05 22:21:54 +00:00
Ray Speth
11f277b71b Python installer now requires correct Python version 2012-01-03 23:08:32 +00:00
Ray Speth
a650168f3e SCons 'msi' target builds an installer for the Python module 2012-01-03 23:08:18 +00:00
Ray Speth
c3ba91ca6f Fixed SCons compatibility with the Intel compiler
Still not working with the Python module.
2011-12-23 02:14:58 +00:00
Ray Speth
8045e68d86 Added .gitignore files
Helpful for git-svn users
2011-12-16 16:22:15 +00:00
Ray Speth
e205c27475 Simplified numpy/numarray include to avoid confusing SCons 2011-12-14 19:42:23 +00:00
Ray Speth
4b114f020e Add stage_dir config option
This option stages "installed" files in a local directory which can
then be used to generate installation packages while $prefix still
references the final installed location.
2011-12-14 19:41:21 +00:00
Ray Speth
ccaf3f5e08 Move config.h out of the main directory 2011-12-14 19:41:07 +00:00
Ray Speth
71588d307d Remove files for Autotools and Visual Studio build systems 2011-12-14 19:38:10 +00:00
Ray Speth
605efec48d SCons can now build the Matlab toolbox under Windows 2011-12-14 19:36:31 +00:00
Ray Speth
d8529fea15 Build a static version of clib to use with Python on Linux 2011-12-14 19:36:08 +00:00
Ray Speth
ec0c45d8fb Removed some unused files 2011-12-14 19:35:40 +00:00
Ray Speth
49ee5391e0 Fixed building / installation of Python module in Windows 2011-12-14 19:34:53 +00:00
Ray Speth
b0d75cafea Fixed discovery of Numpy directories under Windows 2011-12-14 19:34:43 +00:00
Ray Speth
b78fa7c9de Build clib as a shared library 2011-12-14 19:34:36 +00:00
Ray Speth
96f93bbac7 Use Boost.Math to provide 'erf' when it is not provided by math.h 2011-12-14 19:34:28 +00:00
Ray Speth
ef617af524 Fixed compilation issues when compiling without Sundials
ctnumerics and the included CVODE had been broken
2011-12-14 19:34:10 +00:00
Ray Speth
60a00546dc Added include directory for f2c code
Most f2c code needs the "f2c.h" file, which is only in the
ext/f2c_libs directory, but this error doesn't usually show up
because it is also in /usr/include on most Unix systems.
2011-12-14 19:34:04 +00:00
Ray Speth
098501cbe4 Fixed several platform-dependent preprocessor defines to work with Windows 2011-12-14 19:33:53 +00:00
Ray Speth
a9b09b6527 Eliminated variable-length arrays from MolalityVPSSTP::reportCSV
These are a feature of C99, but are not part of the C++ standard.
2011-12-14 05:55:44 +00:00
Ray Speth
ff878fc826 "equil" compilation now includes C source files
This fixes compilation with the VCS non-ideal phase option
2011-12-14 05:55:01 +00:00
Ray Speth
7c807e7925 Combined redundant configuration options for "with_pure_fluids"
Eliminated enable_tpx, incl_pure_fluids
2011-12-14 05:54:48 +00:00
Ray Speth
99a0dc5f0f Removed incomplete CMake build scripts 2011-12-14 03:54:19 +00:00
Ray Speth
79b7686e63 More robust installation of the Python package with SCons
SCons now checks for an array package (numpy by default) and builds
the full Python module if it finds it, otherwise it builds the minimal
package.
2011-12-14 03:53:50 +00:00
Ray Speth
c27078d73a SCons handles installation of the Matlab toolbox, demos, and examples 2011-12-14 03:52:55 +00:00
Ray Speth
e2176738cc SCons builds and installs the C++, Python and Fortran demos and examples 2011-12-14 03:52:41 +00:00
Ray Speth
667b8c3cb6 SCons installs the Python module 2011-12-14 03:52:35 +00:00
Ray Speth
d742f7d9e6 SCons now installs the fortran .mod files in the include directory 2011-12-14 03:52:31 +00:00
Ray Speth
2d8b1f4431 SCons install target now copies header files to the installation directory 2011-12-14 03:52:26 +00:00
Ray Speth
702ae7251d Added SCons installation targets for libraries and binaries 2011-12-14 03:52:19 +00:00
Ray Speth
81fb345b96 Use PreAction/PostAction to simplify python module build 2011-12-14 03:52:13 +00:00
Ray Speth
35cc0d3bbc SCons now builds the binaries in the 'tools' directory 2011-12-14 03:52:07 +00:00
Ray Speth
947d8260ad SCons now builds the Matlab toolbox 2011-12-14 03:52:01 +00:00
Ray Speth
53cfa84670 SCons now builds the Python module 2011-12-14 03:04:18 +00:00
Ray Speth
39d46d1f28 SCons now builds the C, C++ and Fortran interfaces 2011-12-14 03:04:08 +00:00
Ray Speth
b6bfca8e94 SCons now builds the Cantera kernel 2011-12-14 03:03:57 +00:00
Ray Speth
b796e83f81 Improved behavior of Python module when python isn't in the path 2011-12-14 02:20:19 +00:00
Ray Speth
4aa54c3419 Export the Transport::getMassFluxes function 2011-12-14 02:08:49 +00:00
Ray Speth
107ba5d381 Added several missing functions to the Matlab toolbox 2011-12-14 01:54:18 +00:00
Ray Speth
54315d4472 Fixed segfault in Func module when using numpy
The C++ py_func_new function assumes it's being passed a 1-dimensional
array, but numpy generates 0-dimensional arrays for scalar inputs to
array / asarray, e.g. when using Func.Sin.
2011-12-14 01:47:40 +00:00
Ray Speth
5e81697129 ck2cti now detects invalid transport geometry flags 2011-12-14 01:47:35 +00:00
Ray Speth
6326963e7c Allow T** in 4-term Troe expression to be negative
Unlike the T* and T*** coefficients, T** appears in the numerator and
does not cause any problems when its value is less than or equal to 0.
2011-12-14 01:47:30 +00:00
Ray Speth
382de2d865 Fixed unused pressure in npflame1 Python demo 2011-12-14 01:36:25 +00:00
Ray Speth
f69484c5cb Fixed incorrect object name in the Python 'elementMoles' function 2011-12-14 00:46:47 +00:00
Harry Moffat
56ad9ca9e8 Fixed a compile error in the THREAD_SAFE capability 2010-11-12 18:02:21 +00:00
Harry Moffat
58baed0f2e Fixed issue 17
There was an obvious error in the THREAD_SAFE_CANTERA compile.
2010-11-11 00:19:59 +00:00