Commit graph

4556 commits

Author SHA1 Message Date
Ray Speth
33eb924f59 [Test] Eliminated usage of class PrintCtrl 2013-06-24 15:21:36 +00:00
Ray Speth
7c8d0824f3 Deprecate Cantera.h 2013-06-24 15:21:32 +00:00
Ray Speth
c625d8327e [SCons] Fix an issue when using virtualenv
Virtualenv substitutes an old version of site.py that may not have the
getusersitepackages function. However, it appears that USER_SITE is set
correctly in these cases.
2013-06-24 15:21:28 +00:00
Ray Speth
58d6917fe4 [Cython] Patch distutils to prevent overwriting of build-lib
This bug in distutils prevented building the MSI installer on Windows.
2013-06-24 15:21:25 +00:00
Ray Speth
4591159cd9 [SCons] Install script for running MixMaster with new Python module 2013-06-21 20:59:00 +00:00
Ray Speth
70178cee04 [MixMaster] Use the Cython-based Cantera API 2013-06-21 20:58:52 +00:00
Ray Speth
0a56f3286f [MixMaster] Make compatible with Python 3
This also retains Python 2 support.
2013-06-21 20:58:35 +00:00
Ray Speth
440bf4a8d1 Add current version of MixMaster to the Cython package
Note that this currently doesn't work at all, due to both Python 3 compatibility
issues as well as the changes to the Cantera Python API
2013-06-21 20:58:22 +00:00
Ray Speth
84aaec1417 [Cython] Install ck2cti.py and wrapper script 2013-06-21 20:58:15 +00:00
Ray Speth
39adabb820 [Cython] Fix a bug writing graphviz input files 2013-06-21 20:58:11 +00:00
Ray Speth
66981a244d [ck2cti] Print line number of invalid reaction entry 2013-06-21 20:58:07 +00:00
Ray Speth
94ac608adb [Kinetics] Consider third-body efficiencies in duplicate reaction checks 2013-06-21 20:58:02 +00:00
Ray Speth
92fb4252d0 [ck2cti] Avoid parsing keywords in comments 2013-06-21 20:57:58 +00:00
Ray Speth
ac0ccec7f5 Use ReactionData struct to store info in class rxninfo
This eliminates the need the data members of class rxninfo that were
just duplicates of what is in the ReactionData struct.
2013-06-21 20:57:53 +00:00
Ray Speth
39079b93d1 [ck2cti] Consider explicit third bodies in duplicate reaction check
Reactions with the same reactants and products but different named
third bodies are not considered duplicates and do not need to be marked
as such.

Normal third body reactions (with 'M' as the third body) are considered
duplicates of reactions with specific third bodies if the efficiency
for the specific third body is not zero.
2013-06-21 20:57:49 +00:00
Ray Speth
ca3057ce08 [Doc] Add Transport classes to the tranprops group 2013-06-19 22:08:58 +00:00
Ray Speth
d21a6a7be9 [Doc] Create a group for classes in the "onedim" module 2013-06-19 22:08:50 +00:00
Ray Speth
0945a6de9b [clib] Enable access to critical properties of non-pure phases
Previously, only the critical properties of PureFluidPhase objects could be
accessed, but there are other ThermoPhase classes (specifically,
RedlichKwongMFTP) which overload the critTemperature, critPressure, and
critDensity functions.
2013-06-19 15:26:54 +00:00
Ray Speth
67240c4947 [ck2cti] Fix handling of transport comments with no preceding space 2013-06-17 14:20:38 +00:00
Ray Speth
0018acd607 [ck2cti] Fix a Python 3 incompatibility 2013-06-17 14:20:34 +00:00
Ray Speth
b3708cdab5 [Kinetics] Allow reactions with A = 0.0 2013-06-17 14:20:30 +00:00
Ray Speth
0f13a7159e [ck2cti] Improve performance of duplicate reaction check
Old method was O(N^2). New method is essentially O(N).
2013-06-17 14:20:26 +00:00
Ray Speth
7eae48abba [ck2cti] Show line numbers of unmarked duplicate reactions 2013-06-17 14:20:23 +00:00
Ray Speth
f9fcfc562e [ck2cti] Permit lower case keywords in Chemkin input files
Although the specification of the file format doesn't appear to allow lower
case keywords, many mechanisms are distributed using them.
2013-06-17 14:20:19 +00:00
Ray Speth
2c4748aaf5 [1D] Deprecate importSolution 2013-06-17 14:20:16 +00:00
Ray Speth
d545a2e598 Deprecate 'testProb' constructors
These constructors should be removed and any useful test code they
contain incorporated into new or existing tests.
2013-06-17 14:20:09 +00:00
Ray Speth
dd10230ce1 Deprecate unused VCS functions 2013-06-17 14:20:05 +00:00
Ray Speth
1c7c4938e9 Deprecate getNamedStringValue 2013-06-17 14:20:01 +00:00
Ray Speth
9c542981f1 Deprecate getUnitsStandardConc 2013-06-17 14:19:54 +00:00
Ray Speth
d19d18dd77 [SCons] Print options read from cantera.conf
This prevents surprises when an unexpected option value is saved in
cantera.conf.
2013-06-17 14:19:50 +00:00
Ray Speth
28154d847d [Test] Use more stable output for ChemEquil_ionizedGas
The test output previously included the nondimensional chemical potential
for each species. This contains a term equal to log(mole fraction). In
some of the cases in this test, there are species with very small mass
fractions, below the tolerances of the equilibrium solver, leading to
large apparent changes in the chemical potential for species which are
present in insignificant amounts.

The comparison of the equilibrium mole fractions in this test is retained
by using the "table.csv" file.
2013-06-17 14:19:47 +00:00
Ray Speth
97ff4fa2a5 [SCons] Fix handling of blas_lapack_dir and boost_lib_dir
These need to be added to LIBPATH as entries in a list, otherwise
LIBPATH ends up concatenating the strings for each as a single entry.
2013-06-14 23:06:29 +00:00
Ray Speth
7b7e578500 [Transport] Avoid unnecessary L-matrix solves 2013-06-14 23:06:24 +00:00
Ray Speth
94800445a1 Allow derived classes of MultiTransport 2013-06-14 23:06:21 +00:00
Ray Speth
e013e8b966 Add __version__ attribute to (legacy) Python module 2013-06-13 22:50:40 +00:00
Ray Speth
496dfe31ce Remove extraneous constructor for XML_Node 2013-06-13 22:50:35 +00:00
Ray Speth
77ed000090 Deprecate WF93 falloff parameterization 2013-06-13 22:50:30 +00:00
Ray Speth
112d9b5093 Remove unusable KINETICS_WITH_INTERMEDIATE_ZEROED_PHASES macro 2013-06-13 22:50:26 +00:00
Ray Speth
75e586da0f Remove unusable CHEMKIN_COMPATIBILITY_MODE macro 2013-06-13 22:50:21 +00:00
Ray Speth
9740980c5d Deprecate class GRI_30_Kinetics 2013-06-13 22:50:14 +00:00
Ray Speth
d4be0e605b Remove header for unimplemented 'Crystal' class 2013-06-13 22:50:07 +00:00
Ray Speth
ca8d131092 Fix a few missing includes in header files
These header files had implicit dependencies on other header files, which are
now made explicit.
2013-06-13 22:50:03 +00:00
Ray Speth
1e02732140 [SCons] Deprecate the 'legacy_headers' option 2013-06-13 22:49:58 +00:00
Victor Brunini
e17d099b96 Fix lower_bound not found build error. 2013-06-11 19:41:30 +00:00
Ray Speth
1c7256e702 Make ck2cti compatible with Python 3 2013-06-08 02:01:23 +00:00
Ray Speth
9e9fe849bc Install ctml_writer with Cython module 2013-06-08 02:01:18 +00:00
Ray Speth
1cf8d9c8ea Classes in ctml_writer derive from object 2013-06-08 02:01:08 +00:00
Ray Speth
99c533c2eb Make ctml_writer compatible with Python 3 2013-06-08 02:00:59 +00:00
Ray Speth
843f2ad337 Deprecate ctml::getFloats 2013-06-06 15:33:11 +00:00
Ray Speth
18a102c91f Deprecate unused spectroscopy-related classes 2013-06-06 15:33:05 +00:00