Commit graph

4580 commits

Author SHA1 Message Date
Ray Speth
e2e9ee8ea3 [Test] Fix failure of VPsilane_test when debug_verbose=y
Partially addresses Issue 69.
2013-06-28 21:24:33 +00:00
Ray Speth
966ebfa9ff [Test] Fix failure of cxx_ex test when debug_verbose=y
Partially addresses Issue 69.
2013-06-28 21:24:30 +00:00
Ray Speth
52997d6f60 [Test] Fix failures in HMW tests when debug_verbose=y
Partially addresses Issue 69.
2013-06-28 21:24:28 +00:00
Ray Speth
bd8d257c5e [ctml_writer] Clean up reaction.build 2013-06-28 21:24:26 +00:00
Ray Speth
dd41d8ac90 [ctml_writer] Improve performance of XMLnode._write 2013-06-28 21:24:24 +00:00
Ray Speth
e1fe14a9b0 [SCons] Make the new Python package the default 2013-06-26 00:23:18 +00:00
Ray Speth
029e2c5d2e [SCons] single_library defaults to True
Also, using single_library=n is deprecated.
2013-06-26 00:23:14 +00:00
Ray Speth
1ac855ae9b [SCons] Mention config.log in relevant error messages 2013-06-26 00:23:11 +00:00
Ray Speth
65a97d9b62 [1D] Restore domains based on sequence rather than name
Instead of searching the XML tree for nodes where the "id" attribute matches,
require that the domains occur in order from left to right (corresponding to how
they are saved).

Fixes Issue 164.
2013-06-26 00:23:07 +00:00
Steven DeCaluwe
fde8eeddcc Modified ctml_writer.py to allow loading RedlichKwongMFTP thermo class from a cti file. 2013-06-25 22:06:18 +00:00
Ray Speth
5213393c1e [SCons] Fix 'HAS_NO_PYTHON' to account for the Python 3 package 2013-06-24 15:22:55 +00:00
Ray Speth
73c43a3a26 [SCons] Keep default values of compiler flags out of cantera.conf 2013-06-24 15:22:52 +00:00
Ray Speth
dcb579df98 [SCons] Only copy Boost libraries when they are being used 2013-06-24 15:22:48 +00:00
Ray Speth
e7754fbcf2 [1D] Deprecate vector version of Domain1D::setBounds
The scalar version is actually easier to use in most cases.
2013-06-24 15:22:45 +00:00
Ray Speth
3e4c944416 [1D] Simplify interface for setting tolerances 2013-06-24 15:22:38 +00:00
Ray Speth
63b6660632 Deprecate debug methods of PDSS_HKFT 2013-06-24 15:22:33 +00:00
Ray Speth
9d2f7e0220 Deprecate report/modifyParameters methods of SpeciesThermoInterpType 2013-06-24 15:22:25 +00:00
Ray Speth
27f2ccc647 Deprecate Transport::setParameters 2013-06-24 15:22:19 +00:00
Ray Speth
8c95ee035e Deprecate the setParameters and getParameters methods of ThermoPhase 2013-06-24 15:22:08 +00:00
Ray Speth
f7ed3c17f8 Deprecate SpeciesThermo::reportParams 2013-06-24 15:22:00 +00:00
Ray Speth
d060cba434 Fix a memory error in IdealGasPhase::cv_vib and cv_tr
The array 'c' is only long enough to hold the thermo parameters filled in
by the StatMech class, so it's necessary to make sure the type is correct
first and abort if it's not, rather than calling reportParams first and
corrupting the stack.
2013-06-24 15:21:55 +00:00
Ray Speth
123544e4f7 [VCS Equil] Eliminate unnecessary calls to reportParams 2013-06-24 15:21:51 +00:00
Ray Speth
9b31092e90 Deprecate PrintCtrl and LogPrintCtrl 2013-06-24 15:21:46 +00:00
Ray Speth
89664920e8 Eliminated use of PrintCtrl in ChemEquil debug mode 2013-06-24 15:21:40 +00:00
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