Commit graph

4094 commits

Author SHA1 Message Date
Ray Speth
4ff9e61e0d Added docstrings for Cython Transport class 2012-09-06 19:59:58 +00:00
Ray Speth
777d10ddb8 Fixed parsing Python configuration variables on Windows
str.splitlines() works on all types of newline characters
2012-09-06 19:59:54 +00:00
Ray Speth
985e83f261 Workaround for platform.python_compiler() to support EPD on Windows 2012-09-06 19:59:50 +00:00
Ray Speth
5f2ec1f11d Added ability to switch between transport models in the Cython module 2012-09-06 19:59:45 +00:00
Ray Speth
a9132d1fc3 Added core Transport methods to Cython module 2012-09-06 19:59:39 +00:00
Ray Speth
44fe268615 Added tests for the Cython Kinetics class 2012-09-06 19:59:34 +00:00
Ray Speth
25f361651a Added docstrings for the Cython Kinetics and InterfaceKinetics classes 2012-09-06 19:59:28 +00:00
Ray Speth
e3ce74723c Expanded tests for Cython ThermoPhase class 2012-09-06 19:59:18 +00:00
Ray Speth
c28a00be6e Changes to non-compiled files no longer require rebuilding the Cython extension 2012-09-06 19:59:14 +00:00
Ray Speth
c99dd265ec Implemented Kinetics methods in the Cython module 2012-09-06 19:59:10 +00:00
Ray Speth
2b3f54080f Added Cython declarations for methods of the C++ Kinetics class 2012-09-06 19:59:04 +00:00
Ray Speth
c5f649b036 Added docstrings to Cython PureFluid class 2012-09-06 19:59:00 +00:00
Ray Speth
6b34150a6c [Python] Added implementation and docstrings for class InterfacePhase 2012-09-06 19:58:55 +00:00
Ray Speth
5a722f9608 Added docstrings to Cython ThermoPhase class 2012-09-06 19:58:50 +00:00
Ray Speth
13d916862e Updated compilation instructions to cover the new Python module 2012-09-06 19:58:44 +00:00
Ray Speth
f82c6e50c7 SCons runs the unit tests for the Cython module 2012-09-06 19:58:32 +00:00
Ray Speth
208b8edad8 SCons installs the new Python module 2012-09-06 19:58:26 +00:00
Ray Speth
a0fdaa9f8a SCons builds the new Python module with Python 2 and Python 3 simultaneously 2012-09-06 19:58:22 +00:00
Ray Speth
0c904bebfa Added infrastructure for using Sphinx to document the new Python module
This includes adding the sphinx_cmd option to SCons, which can be set to the
Python 3 version of sphinx-build as necessary.
2012-09-06 19:58:13 +00:00
Ray Speth
42e07afedc Removed remnants of pydoc-style documentation 2012-09-06 19:58:08 +00:00
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