Commit graph

4074 commits

Author SHA1 Message Date
Ray Speth
11fd72c26f SCons now builds the Cython-based Python 3 package 2012-09-06 19:58:03 +00:00
Ray Speth
0fd5ab0127 [Python] Added access to equilibrium solvers for Solution and Mixture 2012-09-06 19:57:58 +00:00
Ray Speth
bcbdd25101 [Python] Added "slicing" support to Solution
Slicing a Solution object (with the [] operator) creates a view where all
species-specific properties are returned for the specified subset of the
species.
2012-09-06 19:57:53 +00:00
Ray Speth
370ba39a8c [Python] Implemented more ThermoPhase properties 2012-09-06 19:57:48 +00:00
Ray Speth
aa032c1996 [Python] Improved handling of functions that accept either species name or index 2012-09-06 19:57:44 +00:00
Ray Speth
e9b49e3bb0 Added partial molar / non-dimensional thermo properties 2012-09-06 19:57:38 +00:00
Ray Speth
b070605bec [Python] Implementing ThermoPhase properties for setting / getting state 2012-09-06 19:57:32 +00:00
Ray Speth
c41934d995 [Python] Starting on full interface to ThermoPhase member functions 2012-09-06 19:57:27 +00:00
Ray Speth
622eed7b75 Added PureFluid to the new Python module 2012-09-06 19:57:20 +00:00
Ray Speth
2bd25f52b4 Simplified setup.py for new Python module
The removed parts are not necessary since the compiled module no
longer links to the Cantera shared library.
2012-09-06 19:57:13 +00:00
Ray Speth
4bd19494a6 Added more tests for the new Python module 2012-09-06 19:57:07 +00:00
Ray Speth
c7570dc6c9 [Python] Outline of a strategy for wrapping classes which extend Transport 2012-09-06 19:56:58 +00:00
Ray Speth
95b75409be Include data files with the new Python module 2012-09-06 19:56:51 +00:00
Ray Speth
1758c86a3f Starting a test suite for the new Python module 2012-09-06 19:56:43 +00:00
Ray Speth
062ab1dad9 Adding parts of "oneDim" to the new Python module 2012-09-06 19:56:36 +00:00
Ray Speth
514abaa0da Added basic implementation of surface and edge phases in the Python module 2012-09-06 19:56:30 +00:00
Ray Speth
341648aa23 Added basic implementation of Reactor, ReactorNet and Wall to the Python module 2012-09-06 19:56:25 +00:00
Ray Speth
21169b3a38 [Python] Added basic implementation of Func1 and its children 2012-09-06 19:56:20 +00:00
Ray Speth
dfb18b461e Rearranging Cython module into a single shared object
This is necessary to deal with DLL linking limitations on Windows
2012-09-06 19:56:03 +00:00
Ray Speth
96f9b05f8c Added skeletal implementation of multiphase mixtures to new Python module 2012-09-06 19:55:50 +00:00
Ray Speth
eabb46b9e7 Added physical constants to the new Python module 2012-09-06 19:55:40 +00:00
Ray Speth
3a838018fc Use SCons to generate a customized setup.py for the new Python module 2012-09-06 19:55:34 +00:00
Ray Speth
8afc669b67 Proof-of-concept for a Python interface written using Cython
This module is compatible with both Python 2 and Python 3. Unlike the existing
Python module, this module directly utilizes the Cantera C++ interface,
bypassing the "clib" compatibility layer, as well as all of the direct use of
the Python C API.

Currently, this contains just enough to instantiate a ThermoPhase object from an
XML input file.
2012-09-06 19:55:25 +00:00
Ray Speth
ea16489a82 Added data files needed for transport import tests 2012-08-29 22:32:47 +00:00
Ray Speth
f45b2b1ddc Removed unused variable 'm_efctr' from StFlow 2012-08-29 22:13:59 +00:00
Ray Speth
58514d790d Improve comments on OneD eval() function
Patch supplied by Thomas Fiala.
2012-08-29 22:13:56 +00:00
Ray Speth
85571ab7c8 Removed unused functions from Rate1 and removed the unused Rate2 class 2012-08-29 22:13:49 +00:00
Ray Speth
6e63ad9c91 Removed unnecessary iterators from RateCoeffMgr 2012-08-29 22:13:45 +00:00
Ray Speth
c0f2734719 Added tests for converting chemkin-format transport data with ck2cti.py
Includes tests that check to make sure the converter detects duplicate and
missing species.
2012-08-29 18:30:58 +00:00
Ray Speth
454cfb574c Replaced assert statements in ck2cti.py 2012-08-29 18:30:55 +00:00
Ray Speth
0ebba86bc7 ck2cti.py raises an exception when transport data for some species is missing 2012-08-29 18:30:52 +00:00
Ray Speth
6f5a38a2ba ck2cti.py raises an exception when encountering duplicate transport data 2012-08-29 18:30:48 +00:00
Nicholas Malaya
66c9d4c1f0 updating, even if it is not working... will fiddle further 2012-08-17 22:55:47 +00:00
Nicholas Malaya
be97b0e7ba adding a new regression test 2012-08-17 21:53:35 +00:00
Nicholas Malaya
7a6b615843 adding statmech transport test 2012-08-17 21:25:11 +00:00
Nicholas Malaya
1e2e31ba16 updating the file include path 2012-08-17 21:23:37 +00:00
Nicholas Malaya
852707544c updating makefile 2012-08-17 20:52:21 +00:00
Ray Speth
a549782c7f Eliminated some unnecessary usage of strcpy 2012-08-17 16:44:50 +00:00
Ray Speth
49dbb605ab Changed parseCompString to simplify its typical usage pattern 2012-08-17 16:44:34 +00:00
Ray Speth
fe72446fa0 Factored out a helper function for setState_HPorUV and setState_SPorSV 2012-08-17 16:44:24 +00:00
Ray Speth
848eb619dd Simplified conditional statements in SetState_HPorUV and SetState_SPorSV 2012-08-17 16:44:16 +00:00
Ray Speth
3fbf298a21 Removed redundant implementation of speciesThermo() from LatticeSolidPhase 2012-08-17 16:44:07 +00:00
Ray Speth
85d9d360c7 Fixed a bunch of spelling issues 2012-08-17 16:43:34 +00:00
Ray Speth
01a9bdcf58 Fixed handling of explicit reaction orders for some reactions
For reactions with unity reactant stoichiometric coefficients, explicit values
for the forward reaction order were being ignored while setting up the
StoichManager.

Added a few tests that confirm that these rates are being calculated correctly.
2012-08-17 16:43:13 +00:00
Ray Speth
f23c4fa940 Added a test for handling of explicit reaction orders in Chemkin input files 2012-08-17 16:43:02 +00:00
Ray Speth
7a327abb16 Added test for handling of explicit reverse rate constants in Chemkin input files 2012-08-17 16:42:53 +00:00
Ray Speth
eb9441182d Added test for converting "SRI" falloff functions from Chemkin input files 2012-08-17 16:42:43 +00:00
Ray Speth
d578784701 Merge bug fix from the 2.0 maintenance branch 2012-08-15 16:10:04 +00:00
Ray Speth
7ef2bb13e5 Fixed a mistake in the previous update to ck2cti.py 2012-08-15 16:05:45 +00:00
Ray Speth
021f66c755 Merge bug fixes from the 2.0 maintenance branch 2012-08-15 15:36:34 +00:00