Commit graph

4488 commits

Author SHA1 Message Date
Ray Speth
463c481cb0 Make 'scons clean' more thorough for Matlab and Python packages 2013-06-03 22:17:27 +00:00
Ray Speth
3305698b6a Add support for Visual Studio 2012 2013-06-03 22:17:23 +00:00
Ray Speth
00da5bead5 Remove some dead code 2013-06-03 22:17:19 +00:00
Ray Speth
8d004658d7 Update Doxygen docs for other Reactor-related classes 2013-06-03 22:17:12 +00:00
Ray Speth
5a94876c91 Update Doxygen docs for class ReactorBase and descendants 2013-06-03 22:17:05 +00:00
Ray Speth
5c2b5cbde0 Update Doxygen docs for class ReactorNet
Adding a docstring for the class means this class is finally included in the
Doxygen-generated documentation.
2013-06-03 22:17:01 +00:00
Ray Speth
9bb90a395e Clean up Doxygen docs for MMColisionInt 2013-06-03 22:16:56 +00:00
Ray Speth
0fc6861892 Clean up Doxygen docs for LiquidTranInteraction and descendants 2013-06-03 22:16:52 +00:00
Ray Speth
6a1ebcd9d7 Clean up Doxygen docs for TransportParams and descendants 2013-06-03 22:16:46 +00:00
Ray Speth
a8fea51046 Clean up Doxygen docs for TransportFactory 2013-06-03 22:16:41 +00:00
Ray Speth
098a87cdcd Clean up Doxygen documentation for class Transport and descendants 2013-06-03 22:16:29 +00:00
Ray Speth
e667978655 [Cython] Allow setting state while holding specific properties constant
The value "None" is used to indicate the property or properties being held
constant.
2013-05-31 15:56:36 +00:00
Ray Speth
02112c7cde [Test] Fix test failures due deprecation warnings 2013-05-31 15:56:32 +00:00
Ray Speth
9d851a5bf8 [SCons] Add names of all failing tests to the test summary 2013-05-31 15:56:28 +00:00
Ray Speth
8ab5b27121 [Cython] Check property setters for the correct number of arguments 2013-05-31 15:56:25 +00:00
Ray Speth
4743abbe2b [Cython/Doc] Add summary of changes to Python module syntax 2013-05-31 15:56:20 +00:00
Ray Speth
8292de3ee8 [Python] Add deprecation warnings for the old Python module
The old Python module will be removed after releasing Cantera 2.1.
2013-05-31 15:56:16 +00:00
Ray Speth
f8ac8ea7c3 Remove the DEPRECATED macro
This macro was not a reliable way of marking deprecated features. Future
deprecation warnings will be issued at runtime using the warn_deprecated
function.
2013-05-31 15:56:11 +00:00
Ray Speth
c1cfdffccc Add "warn_deprecated" function
This function can be used for issuing runtime deprecation warnings
2013-05-31 15:56:06 +00:00
Ray Speth
f90d136232 [Doc] Add content from tut[1-4].py to the Sphinx documentation
Update the tutorials to follow the Cython module's syntax
2013-05-31 15:56:01 +00:00
Ray Speth
0b00122062 [Cython] Add support for setting state using entropy + specifc volume 2013-05-31 15:55:57 +00:00
Ray Speth
81b8845b8e [Cython] Fix memory leaks in Wall and ReactorNet
The underlying C++ objects were not being deleted in the destructors for the
Python objects. Moving them to be non-pointer members of the Python wrapper
classes fixes this problem.
2013-05-31 15:55:53 +00:00
Ray Speth
e059b5c60c Eliminate unnecessary use of reinterpret_cast 2013-05-31 15:55:48 +00:00
Ray Speth
e43a4a8b3c Remove unnecessary "APPROACH" macro 2013-05-31 15:55:43 +00:00
Ray Speth
68aa5da406 [Cython] Translated an example showing how to make a reaction path diagram 2013-05-29 00:12:07 +00:00
Ray Speth
6c87237b66 [Test] Added a test of the Graphviz reaction path diagram output 2013-05-29 00:12:03 +00:00
Ray Speth
1352a67e1c [Cython] Added interface for ReactionPathDiagram 2013-05-29 00:11:57 +00:00
Ray Speth
1ed172a4d4 [Kinetics] Lazy evaluation of temperature-dependent terms in rate expression
This interacts well with the new formulations for the Reactor governing
equations where T is an independent variable, which means that the
temperature-dependent terms do not need to be updated when computing the
Jacobian terms involving derivative with respect to composition.
2013-05-29 00:11:52 +00:00
Ray Speth
cfb98e6770 [Test] Added tests of selective / lazy rate expression evaluation 2013-05-29 00:11:47 +00:00
Ray Speth
190c4bf8ce Cleaned up Doxygen documentation in other "numerics" classes 2013-05-29 00:11:40 +00:00
Ray Speth
eadf4e3fdd Cleaned up Doxygen documentation for Sundials wrapper classes 2013-05-29 00:11:32 +00:00
Ray Speth
7b2484dfa8 [Doc] Updated Doxygen config file to eliminate some warnings 2013-05-29 00:11:28 +00:00
Ray Speth
e9daef3313 Cleaned up Doxygen Documentation for matrix classes
BandMatrix, DenseMatrix, SquareMatrix, and GeneralMatrix
2013-05-29 00:11:22 +00:00
Ray Speth
7e8276809f Cleaned up Doxygen documentation for class BEulerInt 2013-05-29 00:11:17 +00:00
Ray Speth
0dba3d47a6 [Reactor] Converted ConstPressureReactor to (m,T,Yk) as independent variables
Parallels the change of independent variables for Reactor introduced in r2295.
2013-05-29 00:11:12 +00:00
Ray Speth
59af72fb51 [Test/Reactor] Added tests for ConstPressureReactor 2013-05-29 00:11:08 +00:00
Ray Speth
574bad76af [Cython] Fixed premature garbage collection of Reactor objects 2013-05-29 00:11:03 +00:00
Ray Speth
62dfdcfb01 [Cython] Added access to the "id" property of ThermoPhase objects 2013-05-29 00:10:58 +00:00
Ray Speth
9631f44d29 [Python] Fixed some more incompatibilities with Python 2.6 2013-05-24 20:14:14 +00:00
Ray Speth
982f9af20c [Test/Reactor] Fixed test of sensitivity coefficients 2013-05-24 17:47:29 +00:00
Ray Speth
7430e11aa5 [Test] Fixed regression in Python 2.6 support
Support for the implcit handling of positional arguments with "{}" isn't
available until Python 2.7.
2013-05-24 17:47:24 +00:00
Ray Speth
a59309e81e [Reactor] Independent variables for Reactor are now T,V, and Yk
This formulation for the reactor's governing equations significantly improves
the performance of integrator, mostly by improving the quality of the
Jacobian. The effect is small for smaller mechanisms (GRI 3.0) but can lead to
order-of-magnitude improvements for mechanisms with hundreds or thousands of
species.

Since this set of variables corresponds to the intrinsic state variables used
for IdealGasPhase objects, we also eliminate the need to iterate when setting
the state of the thermo object.

Additionally, by using temperature as an independent variable, the
temperature-dependent parts of the kinetic rate expressions do not need to be
recomputed while updating the Jacobian (this optimization is not currently
implemented).
2013-05-23 19:33:16 +00:00
Ray Speth
0ee8ac54fd [Reactor/Test] Added some additional checks 2013-05-23 19:33:07 +00:00
Ray Speth
d1b9d3e6ad [Test] Disabled a test that requires a feature missing from the old CVODE 2013-05-23 19:33:02 +00:00
Ray Speth
38cf1b9fec [Test] Adjusted tolerances on some Reactor tests
test tolerance adjustment
2013-05-23 19:32:58 +00:00
Ray Speth
ac7b36f003 [Test] Fixed an error that produced confusing error messages 2013-05-23 19:32:54 +00:00
Ray Speth
02e7df2c14 [Reactor/Test] Added tests for a well-stirred reactor ignition problem 2013-05-23 19:32:50 +00:00
Ray Speth
376c23f1bc [Reactor/Test] Made sensitivitiy tests somewhat more general 2013-05-23 19:32:46 +00:00
Ray Speth
5243fa9cb0 [Reactor/Test] Added additional checks to TestReactor.test_valve3 2013-05-23 19:32:36 +00:00
Ray Speth
ad2baad993 [Reactor/Test] Added a regression test for reactor surface chemistry 2013-05-23 19:32:31 +00:00