Ray Speth
ddb8bf8eb8
[OneD] Make StFlow::componentIndex virtual
2013-09-30 01:54:06 +00:00
Ray Speth
8498123689
[ck2cti] Show line number for some parsing errors
2013-09-30 01:54:00 +00:00
Ray Speth
f95bc8fb43
[Equil] Avoid floating point overflow from pressure term
...
Since computing the residual norm effectively requires p**2, the
correct limit to avoid an overflow is sqrt(DBL_MAX), or roughly
exp(300).
This change fixes crashes due to SIGFPE in cases where floating point
exceptions have been enabled, and also fixes a few cases where the
solver did not previously converge.
2013-09-30 01:53:54 +00:00
Ray Speth
2ac98393bd
[Equil] Remove a calculation with an unused result
2013-09-30 01:53:48 +00:00
Ray Speth
a6f4c111e7
[Cython] Add declarations for free functions to _cantera.pxd
2013-09-30 01:53:40 +00:00
Ray Speth
0458eb736f
[Cython] Add __init__.pxd to allow 'from cantera cimport ...'
2013-09-28 18:18:23 +00:00
Ray Speth
a6ce399374
[Cython] Move extra Cython-related headers to main include directory
2013-09-28 18:18:12 +00:00
Ray Speth
332569114e
[Cython] Install headers needed for derived Cython modules
2013-09-25 23:05:21 +00:00
Ray Speth
7520170f30
[Cython] Improve support for building derived Cython modules
...
The .pxd file now contains declarations for all of the cdef classes,
and is installed with the module.
2013-09-25 22:57:36 +00:00
Ray Speth
55ece82319
[clib] Fix bounds check on getMolecularWeights
...
The incorrect bounds check here caused problems with phases where
there were more elements than species.
Fixes Issue 173.
2013-09-19 14:49:09 +00:00
Ray Speth
dab827d763
[ck2cti] Make permissive mode default when run from Matlab or C++
2013-09-12 16:04:13 +00:00
Ray Speth
8a58b12698
[ck2cti] Fix to work with Cython module when called from Matlab or C++
2013-09-12 16:04:04 +00:00
Ray Speth
721f0266be
[SCons] Fix some dependency issues for building "ctpath.m"
2013-09-06 20:34:18 +00:00
Ray Speth
7683677cac
Bump version to 2.1.0b3
2013-09-01 00:33:55 +00:00
Ray Speth
b0635fe748
[SCons] Fix compilation of Python 3 module when PYTHONHOME is set
2013-09-01 00:33:49 +00:00
Ray Speth
9f90edc313
[SCons] Update version information for Windows installer
2013-09-01 00:33:43 +00:00
Ray Speth
fc878f09fd
[SCons] Include Sundials library and header files in Windows installer
2013-09-01 00:33:37 +00:00
Ray Speth
1969a4d399
[SCons] Add configuration option for specifying required Boost libraries.
...
The set of Boost libraries which are required by Cantera, through the use of
Boost.Thread, depends on the Boost version. The static libraries are needed
when compiling anything that links to Cantera, so these libraries are copied
to the Cantera installation directory on Windows, where compiling Boost from
source is a burden.
2013-09-01 00:33:32 +00:00
Ray Speth
93e672046a
[Doc] Update docs for ReactionData and SurfaceArrhenius
2013-09-01 00:33:27 +00:00
Ray Speth
cf0a418027
[Reactor] Fix segfault when requesting sensitivities at t = 0
2013-09-01 00:33:19 +00:00
Ray Speth
7447c5957d
[Thermo] Fix deleting objects that have manually-added species
2013-09-01 00:33:06 +00:00
Ray Speth
717a2367b1
[Transport] Add electricalConductivity method to all language interfaces
...
Thanks to user 'hencken' for the patch.
Resolves Issue 171.
2013-08-23 17:43:55 +00:00
Ray Speth
f61cbeafcb
[Equil] Fix infinite loop in VCS equilibrium solver
...
The threshold being removed here was introduced in r714, which was merged into
trunk in r1115.
Fixes Issue 113.
2013-08-23 17:43:44 +00:00
Ray Speth
4534bbd21b
[Doc] Add all Matlab examples to the Sphinx docs
2013-08-22 21:46:37 +00:00
Ray Speth
1cedf904df
[Doc] Add all Python examples to the Sphinx docs
2013-08-22 21:46:27 +00:00
Ray Speth
8d7f48d031
[Cython] Minor reorganization of examples
2013-08-22 21:46:17 +00:00
Ray Speth
1592ee37df
Add a note indicating the location of the Cython examples
2013-08-22 21:46:09 +00:00
Ray Speth
3d5ac35c6f
[Test] Avoid exact comparisons of floating point numbers
2013-08-21 19:49:37 +00:00
Ray Speth
32ea4fd924
[SCons] Fix to skip Python startup messages
...
This fixes an issue when the Python interpreter prints startup messages that
appear before the expected output lines. Known to be a problem with the Anaconda
Python distribution.
2013-08-16 17:25:04 +00:00
Ray Speth
d60629ead5
[Cython] Fix syntax errors in MixMaster for Python 3
...
Backticks are not allowed in Python 3 (equivalent to repr)
2013-08-14 17:56:05 +00:00
Ray Speth
a22ceda566
[Scons] Fix build order dependencies for python modules
2013-08-14 17:55:51 +00:00
Ray Speth
6126521ff3
[SCons] Eliminate spurious warnings about environment variables
2013-08-09 15:35:07 +00:00
Ray Speth
4d88fa8e34
Bump version to 2.1.0b2
2013-08-02 23:31:36 +00:00
Ray Speth
dfe5945cd6
[Matlab] Add access to class FlowReactor
2013-08-02 23:17:54 +00:00
Ray Speth
ea3ac2fc91
[Test] Fix file name used for Cython pdep tests
2013-08-02 23:17:49 +00:00
Ray Speth
3fe2cd9bbb
[Cython] Fix format strings for compatibility with Python 2.6
2013-08-02 23:17:45 +00:00
Ray Speth
988f300e6b
[SCons] Add PYTHONPATH to list of default environment variables
...
Simplifies compilation when Python packages needed for compilation (e.g. Cython)
are not installed in system-wide locations.
2013-08-02 23:17:42 +00:00
Ray Speth
957ddc97ae
Fix calls to ck2cti that pass through the C++ interface
2013-08-02 23:17:40 +00:00
Ray Speth
c32b54a47d
[ck2cti] Fix for reading files with no final 'END' keyword
2013-08-02 23:17:38 +00:00
Ray Speth
10aa8ba060
[Kinetics] Allow negative Troe parameters
2013-08-01 18:57:33 +00:00
Ray Speth
cc75faf402
[Matlab] Add support for additional reactor types
...
Matlab interface now supports ConstPressureReactor, IdealGasReactor, and
IdealGasConstPressureReactor.
2013-07-31 18:14:47 +00:00
Ray Speth
03786fd07b
[Python] Add support for IdealGasReactor and IdealGasConstPressureReactor
2013-07-31 18:14:45 +00:00
Ray Speth
9b6354b0c0
[SCons] Fix generation of ctpath.m
...
Was failing because of dependency on dynamically-generated 'python_module_loc'
variable.
2013-07-31 18:14:42 +00:00
Ray Speth
615c3124fb
[Reactor] Fix sensitivity parameter order for constant pressure reactors
...
This matches the behavior of Reactor, where the parameter order is
determined by the order of the reactions in the mechanism.
2013-07-30 15:57:37 +00:00
Ray Speth
8724bc9f04
[Cython] Fix generation of MSI installer when using Python 2.x
...
The old patch to distutils only worked on Python 3.x, since distutils
uses old-style classes which do not support property objects.
2013-07-29 01:38:01 +00:00
Ray Speth
f320290c51
[SCons] Fix Python module path in setup_cantera and post-install message
...
In particular, this fixes paths for Linux distros that put Python modules in
'lib64/pythonX.Y/site-packages'.
Also fixes the reported installation path for the Python module on Windows.
2013-07-29 01:37:57 +00:00
Ray Speth
9a8dbf75f8
CTI to XML conversion works with either new or old Python module
2013-07-29 01:37:54 +00:00
Ray Speth
b7d4fbbe54
[clib] Fix error handling for MultiPhase objects
2013-07-26 21:33:59 +00:00
Ray Speth
35aed42fbd
[Equil] Raise exceptions instead of aborting execution
2013-07-26 21:33:57 +00:00
Ray Speth
5bd01da0fa
Fix deprecation warnings in SOFC example
2013-07-26 21:33:54 +00:00