Commit graph

4104 commits

Author SHA1 Message Date
Ray Speth
11a11bea79 Removing deprecated / nonfunctional methods from Reactor
These functions / variables are for driving the time integration, which is
handled entirely by ReactorNet.
2012-10-12 20:34:33 +00:00
Ray Speth
2134e5d570 [Cython] Added documentation for Reactor and related classes 2012-10-10 18:25:34 +00:00
Ray Speth
9cfd620175 [Cython] Added tests for Reactor networks 2012-10-10 18:25:30 +00:00
Ray Speth
7869bd09c3 [Cython] Fixed implementation of absolute error tolerances in unit tests 2012-10-10 18:25:26 +00:00
Ray Speth
5252c41a80 [Cython] Full implementation of zero-dimensional reactor networks 2012-10-10 18:25:20 +00:00
Ray Speth
dec608b811 Fixed ReactorNet::setInitialTime to actually set the initial integrator time
Removed the optional argument to ReactorNet::initialize so that setInitialTime
is the only interface for setting the integrator start time, and made initialize
protected to make it clear that it does not need to be explicitly called by the
user.
2012-10-10 18:25:12 +00:00
Ray Speth
ced2e6c978 [Cython] Generalized interface to Func1
It is now possible to use any callable Python object when the Cantera C++ core
requires an instance of Func1.
2012-10-10 18:25:06 +00:00
Nicholas Malaya
957b5b3929 [cantera]: fixing a bug in file name variable. 2012-09-27 18:13:57 +00:00
Ray Speth
dec9c269a1 Fixed correspondence of reactor type string names to integer constants 2012-09-27 16:32:15 +00:00
Ray Speth
051a08933f Added tests for Cython Transport class 2012-09-06 20:00:05 +00:00
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