Commit graph

2756 commits

Author SHA1 Message Date
Ray Speth
0982600bcd Better default behavior for building the Matlab toolbox with SCons
If Matlab is found on the path, build the toolbox by default,
otherwise skip it. If the toolbox is required and Matlab can't be
found, exit with an error.
2011-12-14 03:53:56 +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
871c7f62f1 SCons prints a post-install summary 2011-12-14 03:53:46 +00:00
Ray Speth
851eaf7040 SCons generates and installs locally customized utility scripts 2011-12-14 03:53:39 +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
f9e8d5ca88 SCons builds and installs the csvdiff program 2011-12-14 03:52:48 +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
2c4623e336 SCons can now build the contents of the 'ext' directory 2011-12-14 02:41:29 +00:00
Ray Speth
5345040ec0 Initial SCons build scripts
Currently just enough to generate a functional config.h
2011-12-14 02:41:23 +00:00
Ray Speth
8c2f78f865 Development branch for a unified cross-platform build system using SCons 2011-12-14 02:24:41 +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
59083268fd Simplified Matlab startup procedure
Users can now either source 'setup_cantera' before starting Matlab or
run the ctpath.m script after starting Matlab to set the environment
variables and paths needed by Cantera.
2011-12-14 02:20:14 +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
3e3a04c127 Took a chmod mixmaster command out of the minimum python install option. 2010-11-15 22:29:37 +00:00
Harry Moffat
fa56309462 Modifications to the Makefiles to make the THREAD_SAFE_CANTERA ifdef
block work again.
2010-11-12 19:18:49 +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
Harry Moffat
ef7728b1d3 Merged thermo directory with the LiquidTransportDevelop
thermo directory. 
  The biggest change is the addition of the derivative routines
of the activity wrt mole fraction and mole number.
Also There is an addition of reportCSV() routine, which is 
a method to create a comma separated file from ThermoPhase routines.
The rest are small issues.
2010-05-09 03:18:33 +00:00
Harry Moffat
6089ab2d68 Added version control information to this file. 2010-05-08 18:03:30 +00:00
Harry Moffat
701952e509 Added CANTERA_VERSION information to preconfig
and to the Cantera.mak files which are used in the 
application environment.
2010-05-08 03:33:37 +00:00
Harry Moffat
eaa2875d10 Two major capabilities have been merged into the main branch
from liquidTransportDevelop branch

The Exchange_current_reaction_ratecoeff_type method for
formulating reaction rate constants for exchange current
reactions has been ported into the main branch.

Fixed the InterfaceKinetics object so that we can
specify that a phase doesn't exist. If a phase doesn't exist,
species in that phase can't be reactants in the phase. Before,
this fix, they could be !?!!
This was because InterfaceKinetics objects use ThermoPhase
objects, which are intrinsic only. We need an extrinsic notion 
that is in addition to ThermoPhase info in order to get this right.
2010-05-08 03:15:22 +00:00
Harry Moffat
c292e98c8a Added various defines for Cantera's version control. 2010-05-08 03:04:39 +00:00
Harry Moffat
94d0d85925 Added more units strings.
Took out frequency conversion, until we reevalulate it
2010-05-07 14:48:15 +00:00
Harry Moffat
7b046ad00f Added comments. 2010-05-07 14:47:03 +00:00
Harry Moffat
3d64fae63c Added a deepStdVectorPointerCopy templated routine.
Allows for deep copies of
2010-05-07 14:45:32 +00:00
Harry Moffat
33a21f76ac Added more constructor inits. 2010-05-07 14:44:46 +00:00
Harry Moffat
74b1c3c0a1 Added more constructor inits 2010-05-07 14:44:05 +00:00
Harry Moffat
db3de591af Added comments.
Added deprecated symbol for array_fp
2010-05-07 14:41:34 +00:00
Harry Moffat
350988be37 Changed the format of the xml file so that you only need
2 of the 3 fields:
 DG0, DH0, and S0.

The third field is calculated consistently wrt the first two fields.
2010-04-21 18:05:44 +00:00
Harry Moffat
df275cdddf Added another example of a linux build 2010-04-02 20:20:12 +00:00
Harry Moffat
1e77c40db0 Small changes 2010-04-02 19:44:08 +00:00
Harry Moffat
4811459364 Changed the csvdiff default return value.
Now a return of 0 indicates a success.
  Previously a return of 1 indicated a success. Please note!
2010-04-02 19:29:07 +00:00
Christopher Lueth
08615de293 test commit 2010-02-12 22:28:49 +00:00
Christopher Lueth
08dca36204 hi 2010-02-12 22:23:44 +00:00