Commit Graph

5650 Commits

Author SHA1 Message Date
Ray Speth
e34b2739b2 [Test] Move "negATest" to GTest suite 2015-06-16 16:16:21 -04:00
Bryan W. Weber
60827267b7 Add MATLAB interface to the setState_RP function 2015-06-15 17:47:37 -04:00
Bryan W. Weber
ca6e228e22 Move setPressure to a more logical location 2015-06-15 17:47:37 -04:00
Bryan W. Weber
0b92ef20e5 Add the missing getters to the Python tests 2015-06-15 17:47:37 -04:00
Bryan W. Weber
20455056f8 Add Python interface for setState_RP + tests 2015-06-15 17:47:37 -04:00
Bryan W. Weber
8e58a45edb Overload setState_RP for IdealGasPhase
Use the ideal gas law to compute the temperature corresponding to the
given density and pressure.
2015-06-15 17:47:37 -04:00
Bryan W. Weber
5d215b7e86 Add base class functions to set density and pressure simultaneously
They have the names setState_RP, setState_RPX, and setState_RPY. These
base class functions mirror the TP, TPX, TPY set, except that RP is not
implemented, because it depends on the EOS of the system. We cannot use
the normal setPressure because it sets the state by calculating the
density, but RP will specify the density.
2015-06-15 17:46:51 -04:00
Ray Speth
2f7e05040c [ck2cti] Improve handling of single T-range thermo data 2015-06-15 16:47:54 -04:00
Ray Speth
b25167e4b9 [ck2cti] Print the current thermo entry when an error is encountered 2015-06-15 16:26:41 -04:00
Ray Speth
6994d56587 [Doc] Sphinx reads version info from config.h 2015-06-14 20:00:54 -04:00
Ray Speth
484eff996b Use short form of cantera_version when looking for data directory 2015-06-14 19:51:00 -04:00
Ray Speth
eefffa78b9 [SCons] Use defined 'cantera_version' when building MSI 2015-06-14 19:47:33 -04:00
Ray Speth
7f847c3877 [SCons] Miscellaneous cleanup of SConstruct/SConscript files 2015-06-13 23:29:58 -04:00
Ray Speth
31d04f04b0 [Thermo] Remove unnecessary copy constructors & assignment operators
These just did the same thing as the compiler-generated ones, so there's
no reason for these to exist.
2015-06-13 22:41:37 -04:00
Ray Speth
76344ea628 [SCons] Attempt auto-detection of libraries for Boost.Thread 2015-06-12 19:19:57 -04:00
Ray Speth
430c59634a [Doc] Extend sphinxdoc theme instead of overwriting CSS file
Overwriting the CSS file caused styles to fall out-of-date with the HTML
generated by newer versions of Sphinx. This way, we just need to maintain a few
customizations to the base theme.
2015-06-12 18:34:44 -04:00
Ray Speth
8d4e9bff6e [Reactor] Make argument to ReactorNet.step optional and deprecated
The value of this argument has almost no effect on the integrator, and
frequently confuses users since the ReactorNet can end up at a time either
greater or less than the specified time. By removing this argument, the
distinction betwen step() and advance(t) becomes much more clear.
2015-06-11 14:03:20 -04:00
Ray Speth
392b0f5692 [Reactor] Do not use argument to step/advance to set the max time step
Allow CVODES to take arbitrarily large timesteps by default. If a maximum time
step is desired, it can be set explicitly.
2015-06-11 14:03:20 -04:00
Ray Speth
fa90d095f0 [Travis] Use newer Cython version so that Python module works
Don't build Python 3 module for Python 3.2 (no longer supported).
2015-06-11 11:38:40 -04:00
Ray Speth
a6b3c23750 [SCons] Remove unnecessary check for Python 3 Cython module
We use the Python 2 version of Cython to generate the .cpp file which is
separately compiled for both Python 2 and Python 3.
2015-06-10 22:56:49 -04:00
Ray Speth
aa7f5a2728 Add build script for Travis CI 2015-06-10 19:34:24 -04:00
Steven DeCaluwe
7426fca71a Adding RedlichKwongMFTP::cv_mole 2015-06-09 13:01:57 -06:00
Ray Speth
217d780233 Fix calls to CanteraError with blank or incorrect first argument
The first argument should be the function name from which the exception was
thrown. Leaving this blank makes it difficult to track down the location of the
exception.
2015-06-09 12:03:57 -04:00
Ray Speth
8dcde36d20 Fix invalid iterator usage in Application::close_XML_File
The iterator 'b' is invalidated by calling erase(b), which means that the
subsequent call to ++b results in undefined behavior. This was identified by
segfaults in the Matlab unit test on OS X.
2015-06-08 17:20:54 -04:00
Ray Speth
2256cd03de [Doc] Homebrew formula no longer supports '--devel' option
The '--devel' option is apparently only meant for pointing at tagged development
releases, rather than the tip of a branch.
2015-06-08 13:46:37 -04:00
Ray Speth
9ca2c16bc3 [SCons] Fix running test suite with minimal Python module 2015-06-08 11:52:02 -04:00
Ray Speth
c512e2bcbb [Doc] Update installation instructions for Cantera 2.2.0 2015-06-05 15:29:06 -04:00
Ray Speth
416490ad7a Bump version to 2.2.0 v2.2.0 2015-06-04 18:41:20 -04:00
Ray Speth
6190cf21e5 [Ubuntu] Fix stage prefix used for Python 3 module 2015-06-04 18:41:20 -04:00
Ray Speth
835b81a6f8 [MixMaster] Display more useful error messages
Include the full text of the original exception, and print this to the terminal
as well.
2015-06-02 11:05:35 -04:00
Ray Speth
a677409283 [MixMaster] Fix displaying of errors when using Python 2 2015-06-02 11:05:35 -04:00
Ray Speth
bd830b4685 Update year in recommended citation to 2015 2015-06-01 17:01:25 -04:00
Ray Speth
0f55a3bdff [Python/Doc] Add section on kinetics to the tutorial 2015-06-01 17:01:25 -04:00
Ray Speth
eafcc1d991 [Python/Thermo] Add setter for PureFluid.X in the two-phase region 2015-05-30 11:30:11 -04:00
Ray Speth
c7e79e64b4 [Doc] Add local tables of contents for thermo and kinetics 2015-05-29 17:32:23 -04:00
Ray Speth
911c2f180d Remove unused, redundant 'g_DEBUG_MODE' variable
This is exactly the same as the DEBUG_MODE_ENABLED macro
2015-05-29 16:29:57 -04:00
Ray Speth
78f60e2d5f [Thermo] Improve error message generated by Substance::set_xy 2015-05-29 12:45:17 -04:00
Ray Speth
e292caa187 [Python] Add Kinetics.reactions() method which returns all Reactions 2015-05-28 12:38:50 -04:00
Ray Speth
859aee18ef [Python] ThermoPhase.species() returns all Species objects 2015-05-28 12:38:50 -04:00
Ray Speth
808f088ffd Merge namespace VCSnonideal with namespace Cantera 2015-05-27 18:27:25 -04:00
Ray Speth
5214672ab3 Merge namespace ctml with namespace Cantera 2015-05-27 18:09:07 -04:00
Ray Speth
8845e789ba [1D] Deprecate non-functional fix/solve species options 2015-05-27 17:17:08 -04:00
Ray Speth
57e73dcb74 [Doc] Fix some Doxygen warnings 2015-05-26 17:05:40 -04:00
Ray Speth
8e2e4ae60b Deprecate class RxnOrders 2015-05-26 16:58:18 -04:00
Ray Speth
dcf7a2bdff [Python] Replace _have_sundials() with __sundials_version__
Resolves #259.
2015-05-26 16:47:38 -04:00
Ray Speth
b42013009f Update .gitignore 2015-05-26 14:47:40 -04:00
Ray Speth
0552c8a46e [Python/Reactor] Fix ReactorNet.verbose property
Fixes #260
2015-05-26 11:42:29 -04:00
Ray Speth
1c878c16de Fix issues indicated by compiler warnings 2015-05-26 11:42:20 -04:00
Ray Speth
6a094c658f [Doc] Update description of CTI and CTML formats 2015-05-25 21:08:49 -04:00
Ray Speth
341b137766 [Doc] Capitalize proper nouns and acronyms 2015-05-25 20:58:44 -04:00