Commit graph

2817 commits

Author SHA1 Message Date
Ray Speth
ea63e3163a Moved remaining C++ tests out of examples/cxx 2011-12-14 05:55:11 +00:00
Ray Speth
70c71b5448 SCons can now run most of the tests in the test_problems directory
Does not yet handle tests with multiple outputs or tests requiring
additional command line arguments.
2011-12-14 05:55:05 +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
a9028d6b77 Added test building and running capabilities to SCons scripts 2011-12-14 05:54:56 +00:00
Ray Speth
fc98029905 Removed redundant configuration option "enable_rxnpath" 2011-12-14 05:54:52 +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
78332fc0f8 Removed the deprecated "ChangeLog" 2011-12-14 03:54:32 +00:00
Ray Speth
99a0dc5f0f Removed incomplete CMake build scripts 2011-12-14 03:54:19 +00:00
Ray Speth
1c99031360 Improved end-user help for using SCons
Added descriptions of all of the configuration options to the
SConstruct file, and a special "help" target that prints a formatted
version of the options. Running scons with no target now prints a
usage help message.
2011-12-14 03:54:08 +00:00
Ray Speth
ecd99dc7ad Removed some deprecated configuration options 2011-12-14 03:54:04 +00:00
Ray Speth
38170a18ed Better default behavior when building the Fortran interface with Scons
SCons automatically checks for a Fortran compiler, and builds the
Fortran module if one is found, or if the path to a compiler is given
as a configuration option. An error is generated if the F90 interface
is required and a compiler cannot be found.
2011-12-14 03:54:00 +00:00
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