Ray Speth
3fec861d1f
[Cython] Added tests for sensitivity analysis
2012-11-02 20:07:32 +00:00
Ray Speth
fe6b5d3c0b
Changed the ordering of Reactor sensitivity coefficients
...
The order now matches the order in which the corresponding sensitivity reactions
are added to the ReactorNet, regardless of the order in which Reactors and Walls
are added to the network.
Sensitivity parameter names can be accessed using the "sensitivityParameterName"
method of ReactorNet, and the "sensParamID" methods of Reactor and Wall have
been removed as they no longer meaningful.
2012-11-02 20:07:25 +00:00
Ray Speth
b3e25ee963
Modified Reactor::updateState to get sensitivity analysis working
...
Sensitivity analysis requires that the system responds appropriately to small
perturbations in the solution, a condition which is not satisfied when using the
default iterative method implemented by ThermoPhase::setState_UV. Instead, we
now use Newton's method to calculate the mixture temperature to within a small
multiple of machine precision.
2012-11-02 20:07:21 +00:00
Ray Speth
e34ac55f4f
[Cython] Added sensitivity analysis to Reactor / ReactorNet
2012-11-02 20:07:15 +00:00
Ray Speth
845b73405e
Merge bug fixes from 2.0 maintenance branch
2012-10-30 15:46:10 +00:00
Ray Speth
59b34ce549
[Cython] Extract wall surface properties into a separate class
2012-10-30 15:34:35 +00:00
Ray Speth
20dbfc9b98
Modified test tolerances to fix a test failure on Windows
2012-10-25 15:05:11 +00:00
Ray Speth
771192fa9a
[Cython] Fixed choosing equilibrium solver by name
2012-10-24 15:42:13 +00:00
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
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
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
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
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
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