Commit graph

4338 commits

Author SHA1 Message Date
Ray Speth
3426b73b7a Cleaned up Doxygen docs for class SpeciesThermoInterpType and descendants 2013-03-04 17:31:22 +00:00
Ray Speth
c68e01d475 Cleaned up Doxygen documentation for class SpeciesThermo and descendants 2013-03-04 17:31:19 +00:00
Ray Speth
c7ff7dd1cf [SCons] Fixed path to Cantera.mak in sample Makefiles
Fixes Issue 144.
2013-03-04 17:31:11 +00:00
Ray Speth
c084148b0e [SCons] Python module can be installed to user's site-packages directory
Setting the scons options 'python_prefix=USER' or 'python3_prefix=USER' will
pass the '--user' flag to setup.py, causing the Python module to be installed to
a platform-specific directory on the user's module path.
2013-03-04 17:31:08 +00:00
Ray Speth
f41af50461 [SCons] Refactored installation directory configuration 2013-03-04 17:31:05 +00:00
Ray Speth
999231e177 [SCons] Updated post-install message to show Cython module location
Also fixed path separators to be correct on Windows
2013-03-04 17:31:03 +00:00
Ray Speth
372d20ce6e [Cython] setup.py no longer makes use of setuptools / distribute
This makes it easier to install the Python package into non-standard
locations. Requires the 'cythonize' function introduced in Cython 0.17.
2013-03-04 17:30:56 +00:00
Harry Moffat
3cc0aa1689 Fixed an overloaded operator error
Fixed a compilation error that occurred in DEBUG_MODE
2013-02-25 20:00:24 +00:00
Ray Speth
61abf3869d [Cython] Adjust solver parameters for TestFlowReactor.test_reacting
This avoids CVODES failures that otherwise occur on some machines.
2013-02-15 18:20:00 +00:00
Ray Speth
59d8b75340 [Docs] Updated compilation dependencies 2013-02-15 17:50:55 +00:00
Ray Speth
1856a060c9 [SCons] Made installation of gtest optional
The default is to not install it, since most users do not need it.
2013-02-15 17:32:31 +00:00
Ray Speth
1bd83d80f4 [Cython] Relaxed some test tolerances 2013-02-15 17:32:28 +00:00
Ray Speth
c3d49950bd [Cython] Fixed location of data directory for unit tests 2013-02-15 17:32:24 +00:00
Ray Speth
fae8197bd4 [Transport] Check that mole fractions are different before recalcuating
This avoids recomputing and factorizing the L matrix under some circumstances,
such as when both thermal conductivity and the Soret coefficients are requested
for the same mixture.
2013-02-15 17:32:19 +00:00
Ray Speth
529c9b762a [Transport] Fixed update of multicomponent diffusion coefficients
Certain temperature-dependent quantities used in computing multicomponent
diffusion coefficients were not being reliably updated. This caused convergence
issues for the 1D solver in some cases.
2013-02-15 17:32:16 +00:00
Ray Speth
8847b5abac [Kinetics] Ensure that equilibrium constants are not zero
This prevents reverse rate constants from becoming NaN when the forward rate
constant underflows.
2013-02-15 17:31:15 +00:00
Ray Speth
3aa84e15e9 [Cython] Fixed a typo in TestDiffusionFlame 2013-02-15 17:31:11 +00:00
Ray Speth
934010136d Removed unnecessary temporaries used for storing return values 2013-02-14 01:04:07 +00:00
Ray Speth
e04e59cdd3 Removed extraneous parentheses around arguments to 'return'
'return' is a keyword, not a function, so these parens are unnecessary.
2013-02-14 01:03:48 +00:00
Ray Speth
3b78634381 Removed extraneous parentheses around arguments to 'delete'.
'delete' is a keyword, not a function, so the parens are not necessary.
2013-02-14 01:03:42 +00:00
Ray Speth
6d6e237f07 Removed unnecessary checks surrounding delete operations 2013-02-14 01:03:32 +00:00
Ray Speth
4e3a79394b Eliminated some shadowing of member variables by function arguments 2013-02-14 01:03:19 +00:00
Ray Speth
70b08a6891 Eliminated some local variable shadowing 2013-02-14 01:03:13 +00:00
Ray Speth
8a17523715 Use the "charge" member function consistently to access species charges
Eliminated local alias to array of charges in some functions. Inlined the
"charge" function to mitigate any performance impact. Fixes a number of shadowed
variable warnings.
2013-02-14 01:03:09 +00:00
Ray Speth
1a0b59efd4 Eliminated unnecessary variable shadowing in write_logfile 2013-02-14 01:03:05 +00:00
Ray Speth
d59cac4ca0 Cleaned up Doxygen docs for other descendants of ThermoPhase 2013-02-14 01:02:58 +00:00
Ray Speth
b15640a741 Cleaned up Doxygen documentation for class SurfPhase and descendants 2013-02-14 01:02:54 +00:00
Ray Speth
6b0a708389 Cleaned up Doxygen docs for class SingleSpeciesTP and descendants 2013-02-14 01:02:46 +00:00
Ray Speth
da33cc66c3 Cleaned up Doxygen docs for class VPStandardStateTP and descendants 2013-02-14 01:02:34 +00:00
Ray Speth
05abe9d361 [Docs] Doxygen no longer inlines inherited documentation
As of Doxygen 1.8.0, documentation for inherited member functions is listed in
an expandable section of the derived class's documentation, which seems like a
better compromise.
2013-02-14 01:02:30 +00:00
Ray Speth
9c8b14b12c Updated .gitignore to ignore test binaries on Windows 2013-02-14 01:02:27 +00:00
Ray Speth
45392f06ec [Kinetics] Added a test for empty reaction mechanisms 2013-02-14 01:02:23 +00:00
Ray Speth
a25c1a43b3 [Kinetics] Fixed crashes when reaction mechanism contains no reactions
Make sure several arrays are never of length zero so that taking &v[0]
is always well-defined.
2013-02-14 01:02:18 +00:00
Ray Speth
ffd4a7418d Cleaned up Doxygen docs for the Phase and ThermoPhase classes 2013-02-14 01:02:14 +00:00
Harry Moffat
503a12b7aa Added constructors for direct initialization of the IdealGasPhase object.
Moved destructor to .cpp file.
2013-02-11 22:39:22 +00:00
Ray Speth
e48bd48c4e [1D] General cleanup of class Refiner 2013-02-07 23:41:49 +00:00
Ray Speth
dc1ffee1a2 Fixed some compiler warnings
(shadowed virtual functions, initialization order)
2013-02-07 23:41:42 +00:00
Ray Speth
9010ecc644 [Cython] Added the radial pressure gradient as the property FlameBase.L
Resolves Issue 142.
2013-02-07 23:41:37 +00:00
Ray Speth
3c6f87274b [Cython] Fixed docstring for Sim1D.save
Resolves Issue 141.
2013-02-07 23:41:34 +00:00
Ray Speth
840bdfffab [Cython] Translated more samples to use use the new API 2013-02-07 23:41:30 +00:00
Ray Speth
7da738d238 Re-applied consistent formatting to trunk
Applied using: astyle -n --style=kr --add-brackets --indent=spaces=4
--indent-col1-comments --unpad-paren --pad-header --align-pointer=type
--lineend=linux
2013-02-07 23:40:59 +00:00
Ray Speth
a1d24776f1 Fixed setting m_nsp in TransportBase 2013-02-07 23:40:48 +00:00
Ray Speth
7a4be4dcfd Use qualified names for math functions in RxnRates.h
See Issue 136.
2013-02-07 23:40:45 +00:00
Ray Speth
a5b1d1f7f6 [Reactor] Added ability to set the CVODES "MaxErrTestFails" variable
Increasing this value (from the default of 7) will sometimes allow CVODES to
find solutions to problems that previously caused it to fail.
2013-02-07 23:40:40 +00:00
Ray Speth
791c82b0c6 CVodesIntegrator now sets the minimum setp size when [re]initializing 2013-02-07 23:40:35 +00:00
Ray Speth
67a143f396 Refactored CVodesIntegrator to reduce redundancy when setting options 2013-02-07 23:40:31 +00:00
Ray Speth
1bdf50625d [Cython] Fixed specification of the Accelerate framework on OS X 2013-02-07 23:40:28 +00:00
Ray Speth
463a4017eb [Cython] Improved API for InterfaceKinetics 2013-02-07 23:40:25 +00:00
Ray Speth
677cb69a4a [Cython] Added 'mass' property to Reactor 2013-02-07 23:40:22 +00:00
Ray Speth
655af462b0 [Cython] Added set_grid_min method to Sim1D 2013-02-07 23:40:18 +00:00