Commit graph

4116 commits

Author SHA1 Message Date
Ray Speth
94f85db5c5 Eliminated some redundant code in cxx_ex transport tests 2012-10-24 15:44:42 +00:00
Ray Speth
fcb46460cc Clean up of some of the test code 2012-10-24 15:44:33 +00:00
Ray Speth
1d19803885 Pass "const std::string&" instead of "std::string" when possible 2012-10-24 15:42:51 +00:00
Ray Speth
d2ac071660 Fixed a few missing #includes 2012-10-24 15:42:29 +00:00
Ray Speth
a1b2f54ffb Fixed segfault in HTML logging at intermediate log levels 2012-10-24 15:42:20 +00:00
Ray Speth
771192fa9a [Cython] Fixed choosing equilibrium solver by name 2012-10-24 15:42:13 +00:00
Ray Speth
8bcda61e4c Changed type of CVodesIntegrator members to eliminate unnecessary casts 2012-10-24 15:42:05 +00:00
Ray Speth
7b76e762d2 Fixed sensitivity calculation when using CVodesIntegrator::step
Previously, the sensitivity coefficient matrix m_yS was being updated only when
the `integrate` method was used to advance the system. Now, the sensitivities
are updated when a coefficient is requested after taking a timestep, regardless
of the method used to advance the system.
2012-10-24 15:41:59 +00:00
Ray Speth
a6dc994439 Fixed a problem with the VCS equilibrium solver at constant HP or UP
A sign error when limiting the temperature step caused the solver to fail if
the initial temperature was higher than sqrt(Tlow*Thigh).
2012-10-12 20:34:59 +00:00
Ray Speth
e9026fb683 Removed the broken/unused PID_Controller class 2012-10-12 20:34:56 +00:00
Ray Speth
3f17786c01 Removed some commented-out includes 2012-10-12 20:34:48 +00:00
Ray Speth
c404c31879 Eliminated unnecessary string copying in Reactor / ReactorNet 2012-10-12 20:34:41 +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
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