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
Ray Speth
40a737539a
[Cython] Fixed instantiation of ImpingingJet with non-reacting surface
2013-02-07 23:40:16 +00:00
Harry Moffat
287de5e1fb
Added gtest to Cantera's application environment.
2013-02-05 00:32:05 +00:00
Ray Speth
2be392e6e1
[Cython] Translated more samples to use the new API
2013-02-01 23:40:41 +00:00
Ray Speth
eb01aee6f5
[Cython] Made ReactingSurface1D.coverage_enabled into a property
2013-02-01 23:40:36 +00:00
Ray Speth
430e28e413
[Cython] Added write_csv method to FlameBase
2013-02-01 23:40:31 +00:00
Ray Speth
16f69f3738
[Cython] Added keyword argument for setting the name of Domain1D instances
2013-02-01 23:40:27 +00:00
Ray Speth
5adb60664c
[Cython] Added class ImpingingJet
...
This was called "StagnationFlow" in the old Python module.
2013-02-01 23:40:23 +00:00
Ray Speth
987291e052
[Cython] Added 'add_module_directory' utility function
2013-02-01 23:40:18 +00:00
Ray Speth
609b3e6e47
[Cython] Added molar_fluxes method to DustyGasTransport
2013-02-01 23:40:13 +00:00
Ray Speth
15a45de820
Fixed some regressions in indentation consistency
...
Problems with vcs_util.cpp were introduced in r1944. Problems with
NonLinearSolver.{h,cpp} were introduced in r1978.
2013-02-01 23:40:07 +00:00
Ray Speth
9109888882
Fixed regressions in NonlinearSolver introduced in r1978
...
Fixed signed/unsigned type consistency, spelling mistakes, and removed
unnecessary macros.
2013-02-01 23:39:58 +00:00
Ray Speth
978e3605bd
[SCons] Cleanup of the build scripts
2013-02-01 23:39:53 +00:00
Ray Speth
0dc32b6a61
Removed duplicate header files introduced in r1978
2013-02-01 23:39:48 +00:00
Ray Speth
34a1304297
[Cython] Added the "import_phases" convenience function
2013-02-01 23:39:44 +00:00
Ray Speth
a60e10c3de
[Cython] Allow creation of Mixture objects without quantities for each phase
2013-02-01 23:39:40 +00:00
Harry Moffat
8793fc3bcb
Doxygen update
...
Doxygen is currently broken. This commit starts to fix some issues.
2013-02-01 18:59:17 +00:00
Ray Speth
ab3f5e0a63
[Cython] Translated some samples to use the new API
2013-01-30 22:06:02 +00:00
Ray Speth
3d512996f6
[Cython] Fixed a documentation error in ThermoPhase
2013-01-30 22:05:57 +00:00
Ray Speth
cccc5c7a8b
[Cython] Turned Mixture.species_moles into a property
2013-01-30 22:05:52 +00:00
Ray Speth
92016a2b31
[Cython] Fixed some problems building the Sphinx documentation
2013-01-30 22:05:46 +00:00
Ray Speth
7065076320
[Cython] Changed variable names to be consistent with PEP8
...
Instance methods and instance variables all follow the words_with_underscores
convention, rather than using mixedCaseNames.
2013-01-30 22:05:30 +00:00
Ray Speth
f20d39cf75
[Cython] Implemented class Mixture (including unit tests)
2013-01-30 22:05:20 +00:00
Ray Speth
9d6ac785d5
[SCons] Detect invalid command line arguments
2013-01-30 22:05:14 +00:00
Ray Speth
7527b64af7
[ck2cti] Fixed parsing duplicate reactions with explicit reverse rate constants
...
Fixes 139.
2013-01-22 20:26:30 +00:00
Ray Speth
78f6e61703
Combined the shared parts of AxiStagnFlow::eval and FreeFlame::eval
2013-01-17 15:31:36 +00:00
Ray Speth
40d190cd89
[Test/Cython/1D] Added a test for counterflow diffusion flames
2013-01-17 15:30:50 +00:00
Ray Speth
aac9435a0e
[Cython/1D] Fixed DiffusionFlame to work with phases not containing carbon
2013-01-17 15:30:36 +00:00
Victor Brunini
64aef5fac7
Rename m_y_n_1 and m_ydot_n_1 to _trial to clarify their intent.
...
Add setPreviousTimeStep function to set m_y_nm1 and m_ydot_nm1
so that time derivative calculations can be run for time-dependent
nonlinear solves.
Change m_ydot_nm1 to a std::vector.
2013-01-15 20:17:00 +00:00
Victor Brunini
a709d5f816
Revert "Removed unused member variable ReactionData.rxn_number"
...
This variable is used in some applications we build against
cantera.
This reverts commit 7d7b6dd39d12c2e2bdd2a9d2a959c0aee3c0c4c5.
2013-01-15 20:16:42 +00:00
Ray Speth
89406c2410
[SCons] Udated coverage testing to include the Cython module
...
Also, exclude the code in the 'test' and 'test_problems' directories from the
coverage statistics.
2013-01-11 22:56:52 +00:00
Ray Speth
d75bf72e65
Removed duplicated methods from IdealMolalSoln
...
The class incorrectly had copies of the non-virtual methods 'electricPotential'
and 'setElectricPotential' from the base class ThermoPhase.
2013-01-11 22:56:49 +00:00