Ray Speth
58d6917fe4
[Cython] Patch distutils to prevent overwriting of build-lib
...
This bug in distutils prevented building the MSI installer on Windows.
2013-06-24 15:21:25 +00:00
Ray Speth
4591159cd9
[SCons] Install script for running MixMaster with new Python module
2013-06-21 20:59:00 +00:00
Ray Speth
70178cee04
[MixMaster] Use the Cython-based Cantera API
2013-06-21 20:58:52 +00:00
Ray Speth
0a56f3286f
[MixMaster] Make compatible with Python 3
...
This also retains Python 2 support.
2013-06-21 20:58:35 +00:00
Ray Speth
440bf4a8d1
Add current version of MixMaster to the Cython package
...
Note that this currently doesn't work at all, due to both Python 3 compatibility
issues as well as the changes to the Cantera Python API
2013-06-21 20:58:22 +00:00
Ray Speth
84aaec1417
[Cython] Install ck2cti.py and wrapper script
2013-06-21 20:58:15 +00:00
Ray Speth
39adabb820
[Cython] Fix a bug writing graphviz input files
2013-06-21 20:58:11 +00:00
Ray Speth
66981a244d
[ck2cti] Print line number of invalid reaction entry
2013-06-21 20:58:07 +00:00
Ray Speth
92fb4252d0
[ck2cti] Avoid parsing keywords in comments
2013-06-21 20:57:58 +00:00
Ray Speth
39079b93d1
[ck2cti] Consider explicit third bodies in duplicate reaction check
...
Reactions with the same reactants and products but different named
third bodies are not considered duplicates and do not need to be marked
as such.
Normal third body reactions (with 'M' as the third body) are considered
duplicates of reactions with specific third bodies if the efficiency
for the specific third body is not zero.
2013-06-21 20:57:49 +00:00
Ray Speth
67240c4947
[ck2cti] Fix handling of transport comments with no preceding space
2013-06-17 14:20:38 +00:00
Ray Speth
0018acd607
[ck2cti] Fix a Python 3 incompatibility
2013-06-17 14:20:34 +00:00
Ray Speth
0f13a7159e
[ck2cti] Improve performance of duplicate reaction check
...
Old method was O(N^2). New method is essentially O(N).
2013-06-17 14:20:26 +00:00
Ray Speth
7eae48abba
[ck2cti] Show line numbers of unmarked duplicate reactions
2013-06-17 14:20:23 +00:00
Ray Speth
f9fcfc562e
[ck2cti] Permit lower case keywords in Chemkin input files
...
Although the specification of the file format doesn't appear to allow lower
case keywords, many mechanisms are distributed using them.
2013-06-17 14:20:19 +00:00
Ray Speth
e013e8b966
Add __version__ attribute to (legacy) Python module
2013-06-13 22:50:40 +00:00
Ray Speth
9740980c5d
Deprecate class GRI_30_Kinetics
2013-06-13 22:50:14 +00:00
Ray Speth
1c7256e702
Make ck2cti compatible with Python 3
2013-06-08 02:01:23 +00:00
Ray Speth
9e9fe849bc
Install ctml_writer with Cython module
2013-06-08 02:01:18 +00:00
Ray Speth
1cf8d9c8ea
Classes in ctml_writer derive from object
2013-06-08 02:01:08 +00:00
Ray Speth
99c533c2eb
Make ctml_writer compatible with Python 3
2013-06-08 02:00:59 +00:00
Ray Speth
39770d6a48
[Cython] Fix Python 3 compatibility issue
2013-06-05 03:08:59 +00:00
Ray Speth
e667978655
[Cython] Allow setting state while holding specific properties constant
...
The value "None" is used to indicate the property or properties being held
constant.
2013-05-31 15:56:36 +00:00
Ray Speth
8ab5b27121
[Cython] Check property setters for the correct number of arguments
2013-05-31 15:56:25 +00:00
Ray Speth
8292de3ee8
[Python] Add deprecation warnings for the old Python module
...
The old Python module will be removed after releasing Cantera 2.1.
2013-05-31 15:56:16 +00:00
Ray Speth
0b00122062
[Cython] Add support for setting state using entropy + specifc volume
2013-05-31 15:55:57 +00:00
Ray Speth
81b8845b8e
[Cython] Fix memory leaks in Wall and ReactorNet
...
The underlying C++ objects were not being deleted in the destructors for the
Python objects. Moving them to be non-pointer members of the Python wrapper
classes fixes this problem.
2013-05-31 15:55:53 +00:00
Ray Speth
68aa5da406
[Cython] Translated an example showing how to make a reaction path diagram
2013-05-29 00:12:07 +00:00
Ray Speth
6c87237b66
[Test] Added a test of the Graphviz reaction path diagram output
2013-05-29 00:12:03 +00:00
Ray Speth
1352a67e1c
[Cython] Added interface for ReactionPathDiagram
2013-05-29 00:11:57 +00:00
Ray Speth
cfb98e6770
[Test] Added tests of selective / lazy rate expression evaluation
2013-05-29 00:11:47 +00:00
Ray Speth
59af72fb51
[Test/Reactor] Added tests for ConstPressureReactor
2013-05-29 00:11:08 +00:00
Ray Speth
574bad76af
[Cython] Fixed premature garbage collection of Reactor objects
2013-05-29 00:11:03 +00:00
Ray Speth
62dfdcfb01
[Cython] Added access to the "id" property of ThermoPhase objects
2013-05-29 00:10:58 +00:00
Ray Speth
9631f44d29
[Python] Fixed some more incompatibilities with Python 2.6
2013-05-24 20:14:14 +00:00
Ray Speth
982f9af20c
[Test/Reactor] Fixed test of sensitivity coefficients
2013-05-24 17:47:29 +00:00
Ray Speth
0ee8ac54fd
[Reactor/Test] Added some additional checks
2013-05-23 19:33:07 +00:00
Ray Speth
d1b9d3e6ad
[Test] Disabled a test that requires a feature missing from the old CVODE
2013-05-23 19:33:02 +00:00
Ray Speth
38cf1b9fec
[Test] Adjusted tolerances on some Reactor tests
...
test tolerance adjustment
2013-05-23 19:32:58 +00:00
Ray Speth
ac7b36f003
[Test] Fixed an error that produced confusing error messages
2013-05-23 19:32:54 +00:00
Ray Speth
02e7df2c14
[Reactor/Test] Added tests for a well-stirred reactor ignition problem
2013-05-23 19:32:50 +00:00
Ray Speth
376c23f1bc
[Reactor/Test] Made sensitivitiy tests somewhat more general
2013-05-23 19:32:46 +00:00
Ray Speth
5243fa9cb0
[Reactor/Test] Added additional checks to TestReactor.test_valve3
2013-05-23 19:32:36 +00:00
Ray Speth
ad2baad993
[Reactor/Test] Added a regression test for reactor surface chemistry
2013-05-23 19:32:31 +00:00
Ray Speth
57685799ad
[Cython] Added interface to Reactor.component_index
2013-05-23 19:32:25 +00:00
Ray Speth
b82df1b1ea
Fixed compatibility of ck2cti with Python 2.6
...
re.sub doesn't accept the flags keyword argument until 2.7, but the same
effect can be achieved using re.compile.
2013-03-13 20:20:31 +00:00
Ray Speth
302ebb2c7e
[1D] Save and restore energy_enabled and species_enabled flags
2013-03-07 18:51:33 +00:00
Ray Speth
557078229f
[1D] Save and restore solver tolerances
2013-03-07 18:51:31 +00:00
Ray Speth
d20476df8e
[Cython/1D] Fixed setting of steady and transient tolerances
...
Previously, the transient tolerances were being used to solve the steady-state
problem.
2013-03-07 18:51:27 +00:00
Ray Speth
65fbb10bda
[Cython/1D] Made 'grid' an optional parameter
...
Having a default initial grid allows restoring a saved solution without creating
a dummy grid that will just be replaced by the one from XML file.
2013-03-07 18:51:20 +00:00