cantera/Cantera
Harry Moffat 71ef5ebfcc Fix for negative pre-exponential factors producing NaN rates
of progress. This bug was reported in the Cantera newsgroup.

The fix consists of replacing
  Rc = exp ( mlogA + blogT - Ea / RT)
with
  Rc = A * exp (b logT - Ea/RT)

Therefore, the log of A never has to be taken.

Note, this also allows for a zero rate of progress for a reaction.

Consequences:
   The permissible range of the rate constant values may be altered.
   Numerical roundoff differences will occur, since the order of
    operations in key rate constant evalulations has been changed.
   Speed of the calculation may be affected. I have no idea which way.

The fix should be considered as provisional. There are different pathways
for fixing this. This is merely the simplest.
2006-07-03 19:57:29 +00:00
..
clib *** empty log message *** 2006-05-17 15:14:56 +00:00
cxx added C++ combustor example 2006-06-23 14:31:19 +00:00
fortran Added SunWS_cache 2006-04-30 22:23:10 +00:00
lib *** empty log message *** 2004-02-03 03:31:05 +00:00
matlab *** empty log message *** 2006-05-08 15:43:20 +00:00
python added combustor example 2006-06-23 14:28:53 +00:00
src Fix for negative pre-exponential factors producing NaN rates 2006-07-03 19:57:29 +00:00
user Added Makefile. 2004-08-06 20:56:42 +00:00
.cvsignore Added a file. 2004-08-10 01:01:23 +00:00
Makefile.in Prerelease_1_6_0_branch merged into trunk 2005-06-18 16:58:39 +00:00
README.txt *** empty log message *** 2004-10-09 15:21:43 +00:00

This directory contains the source for Cantera and its various
language interfaces.

clib    -  the library of C-callable functions used by the Python and
              Matlab interfaces.
cxx     -  files that are only required for C++ application programs.
matlab  -  the Cantera Matlab toolbox
python  -  the Cantera Python package
src     -  the Cantera kernel, used by Cantera in all its forms