Catera with additional transport models
Find a file
Victor Brunini a641992960 Add validate() functions to CachedValue.
To both check and update the cached state values. Reduces
a lot of code duplication in the use of CachedValues.

I'd like to make state1, state2, and stateNum private so
that they can only be accessed with one of the validate functions,
and also add some asserts to the validate functions that do not
use all of the state variables to ensure that the unused ones are
set to their default values to prevent the case where the wrong
validate() function is called and incorrectly determines that the
cached state is valid.

First pass at making the state variables private caused a test failure
for test_problems/statmech. The m_spthermo->update() call in
IdealGasPhase::_updateThermo() throws an exception for this test right
now that gets caught in equilibrate(). When using validate() the cached
state variable is updated before the m_spthermo->update() call and subsequently
it thinks that the thermo does not need to be updated, whereas when
cached.state1 is being set after the m_spthermo->update() call it does not get
set. The current blessed output for that test is just the text of the exception
that gets caught, so I suspect the test may not work as is.
2014-03-19 00:14:18 +00:00
bin Doxygen update 2013-02-01 18:59:17 +00:00
data [Kinetics] Remove deprecated GRI30 class 2013-12-14 00:17:54 +00:00
doc [SCons] Add specific targets for building the docs 2014-03-13 21:35:39 +00:00
ext Remove abandoned autotools build system 2014-03-04 17:38:53 +00:00
include/cantera Add validate() functions to CachedValue. 2014-03-19 00:14:18 +00:00
interfaces [ctml_writer] Fix handling of units in some fields 2014-03-13 02:19:28 +00:00
platform Remove unused 'install_tsc' script 2014-01-30 00:47:44 +00:00
samples Remove abandoned autotools build system 2014-03-04 17:38:53 +00:00
site_scons Fix linker error when using MSVC 2014-03-03 03:50:04 +00:00
src Add validate() functions to CachedValue. 2014-03-19 00:14:18 +00:00
test [SCons] Continue running test suite if Python tests crash 2014-03-17 02:05:17 +00:00
test_problems [Test] Fix platform-dependent output in test-IAPWSPres 2014-03-18 01:42:38 +00:00
.gitignore [Doc] Add all Matlab examples to the Sphinx docs 2013-08-22 21:46:37 +00:00
AUTHORS Miscellaneous cleanup 2012-06-12 22:48:28 +00:00
INSTALL Added INSTALL with basic instructions for building with SCons 2012-07-03 17:49:59 +00:00
License.txt Modified License statement slightly to comply with copywrite assertion paperwork. 2014-03-16 02:58:48 +00:00
README Mention downloads on Sourceforge in README 2014-02-24 03:25:42 +00:00
SConstruct [SCons] Allow 'clean' to be specified along with other targets 2014-03-18 01:42:34 +00:00

*******
CANTERA
*******

Version 2.2a (development)

License Information
===================

See the file "License.txt" for information on the terms & conditions for usage,
and a DISCLAIMER OF ALL WARRANTIES.

All trademarks referenced herein are property of their respective holders.

Web Resources
=============

1. The Cantera Google Code site:
   http://cantera.googlecode.com/
   This site contains the Cantera source code, and the issue tracker for bugs
   and enhancement requests.

2. The Cantera SourceForge site:
   http://sourceforge.net/projects/cantera
   Distribution of Cantera releases and binary installers. It also contains the
   project CVS history.

3. Cantera Documentation:
   http://cantera.github.com/docs/sphinx/html/index.html
   This site contains documentation for the current stable version of Cantera.

   http://cantera.github.com/dev-docs/sphinx/html/index.html
   This site contains documentation for the development version of Cantera.

4. The Cantera User's Group:
   http://groups.google.com/group/cantera-users
   This site has a message board for discussions amongst Cantera users.

5. The Cantera Developers Group:
   http://groups.google.com/group/cantera-dev
   Limited access site where developers can discuss development ideas.