Commit graph

5670 commits

Author SHA1 Message Date
Bryan W. Weber
e2fc2ce6f2 [Doc] Update Homebrew install instructions.
Update the Homebrew install instructions with a recommendation on how to install the Matlab toolbox and add additional options that are supported during the install process.
2016-01-25 18:33:03 -05:00
Ray Speth
3334a5ffb5 [Transport] Fix segfault when species transport data is missing
Resolves #312.
2015-11-23 10:59:11 -05:00
Ivan Mitrichev
163e4e638a Cython minimum version is 0.19
Resolves #302.
2015-10-25 14:19:51 -04:00
Ray Speth
2402505ffb [Doc] Mention IPython and Matplotlib in installation instructions 2015-10-24 20:36:04 -04:00
Ray Speth
ccb07ef853 [Doc] Mention '--with-python3' option for Homebrew installer 2015-10-24 20:35:57 -04:00
Bryan W. Weber
cc8ada13f4 [Doc] Correct docs for setState_*sat in Matlab
Correct the documentation to clarify that a vector must be passed in to
these functions, not a single value.
2015-10-24 20:35:51 -04:00
Bryan W. Weber
7489c2f1f7 [Matlab] Fix setState_sat*.m functions
Fix the setState_satLiquid and setState_satVapor functions so that they call the main set
method instead of the underlying C++ layer. Resolves #299.
2015-10-24 20:35:42 -04:00
Ray Speth
000cdb3934 [Doc] Add link to guidelines for creating good examples for bug reports 2015-10-24 20:33:13 -04:00
Ray Speth
99b3e7ea1b [Python] Fix handling of bad input to 'stringify'
Cases where a string is required but a non-string is provided will now generate
an exception instead of substituting the empty string.
2015-10-24 20:32:42 -04:00
Ray Speth
7308491654 [Test] Fix csv test comparisons to work with Numpy 1.10
Drop support for Numpy 1.3 (which lacks the skip_header argument to genfromtxt).
2015-10-24 20:30:55 -04:00
Ray Speth
051b9d1f51 [Test] Fix deprecation warnings in Python tests
This also fixes support for Numpy 1.10, which removes the 'skiprows' keyword.
2015-10-24 20:30:19 -04:00
Ray Speth
035c6d4ca1 [Doc] Add Doxygen docstrings for wrapper classes
Without at least a basic docstring, these classes are excluded from the Doxygen
documentation.
2015-10-24 20:26:12 -04:00
Ray Speth
4d643d05dc Bump version number to 2.2.1b1 for in-progress maintenance release
Leave documentation marked as 2.2.0 so we can continue to post minor updates
before 2.2.1 is finalized.
2015-10-24 20:16:25 -04:00
Ray Speth
e6dce9d80e [Matlab] Fix error handling for nAtoms to avoid false positives
Species can have negative "atoms" of an "element" in the case where the element
is an electron and the species is a positive ion.
2015-09-09 18:59:19 -04:00
Ray Speth
240079cb64 [Test] Fix compilation errors with VS2015 2015-09-09 18:59:19 -04:00
Ray Speth
9149089e08 Fix a compilation error when using '-std=c++11' 2015-09-09 18:59:19 -04:00
Ray Speth
2d2ad00777 [Test] Fix error in test comparison when numbers disappear 2015-09-09 18:59:19 -04:00
Ray Speth
205d073399 [Thermo] Prevent setting thermodynamic state variables to NaN
Throwing an exception when a state variable is being set to NaN transforms some
reactor network integration errors from unrecoverable errors into recoverable
errors.
2015-09-09 18:59:19 -04:00
Ray Speth
3662ccdacf [Python] Prevent renaming of Python extension module
In Cygwin, some versions of SCons append a 'cyg' prefix to DLL names, which
breaks the Python extension module that is supposed to be named just
'_cantera.dll'.
2015-09-09 18:59:19 -04:00
Ray Speth
a116ef675e [Thermo] Fix IdealGasPhase constructor from XML_Node 2015-09-09 18:59:19 -04:00
Ray Speth
ffb703ecfd Fix multiprocessing example when using Python 3
In Python 3, 'map' returns an object which evalutes the function as it is
consumed, not when 'map' is called. Therefore, the correct comparison to
pool.map(...) is list(map(...)).
2015-09-09 18:59:19 -04:00
Ray Speth
a79ee8e07a Fix multiprocessing example to actually get the indicated property 2015-09-09 18:59:19 -04:00
Bryan W. Weber
7d2e3813eb Fix syntax error in a Python example 2015-09-09 18:59:19 -04:00
Ray Speth
6d4540435e Fix pointer logic errors in initThermoXML
Affects DebyeHuckel and HMWSoln
2015-09-09 18:59:19 -04:00
Ray Speth
c0772d236a [Doc] Fix typos in NASA polynomial formulas 2015-09-09 18:59:19 -04:00
Ray Speth
4b7e058b43 [Reactor] Cannot add sensitivity reactions to initialized ReactorNet
Before, the attempt to add the reaction was silently ignored. Now, this raises
an exception.
2015-09-09 18:59:18 -04:00
Ray Speth
2044446bc3 [Samples] Fix compilation errors and warnings in the C++ examples 2015-09-09 18:59:18 -04:00
Ray Speth
6e77e3417f Fix incorrect index check in GeneralSpeciesThermo::reportParams
The SpeciesThermoInterpType no longer knows the species index, so
it isn't actually returned by the reportParameters function.
2015-09-09 18:59:18 -04:00
Ray Speth
c69889b4bc Remove link to old dev list 2015-09-09 18:59:18 -04:00
Ray Speth
832cf99927 Fix definition of elemental mole fraction
The elemental mole fractions should be invariant under composition changes which
conserve atoms.
2015-09-09 18:59:18 -04:00
Ray Speth
479a9da0bd [Python/1D] Fix FlameBase.write_csv
Also add a test for this method
2015-09-09 18:59:18 -04:00
Ray Speth
07257443e3 Fix race condition when Python 2 and Python 3 tests run in parallel 2015-09-09 18:59:18 -04:00
Ray Speth
774ec21d97 [Reactor] Add bounds check on sensitivity parameter index 2015-09-09 16:32:31 -04:00
Ray Speth
98c2aa82e7 [SCons] Fix include order when compiling Cython module 2015-09-09 16:32:02 -04:00
Ray Speth
5597d1e374 [Doc] Fix typo in Planck constant units
Fixes #280.
2015-07-01 12:04:58 -04:00
Ray Speth
4dc4a14467 [Doc] Update list of SCons options shown in Sphinx docs 2015-07-01 00:16:28 -04:00
Ray Speth
5a23dab3b8 Fix user-provided BLAS/LAPACK dir in Cantera.mak
Fixes an error introduced in 5720d7cf90.
2015-06-30 23:26:18 -04:00
Ray Speth
bd927d438a [SCons] Fix BLAS/LAPACK-related variables in Cantera.mak
* Fix logic for when BLAS/LAPACK libraries need to be explicitly listed
* ctlapack and ctblas are no longer separate libraries
2015-06-22 17:33:17 -04:00
Ray Speth
d0c62ada84 [Kinetics] Fix handling of integral, explicit reaction orders
If any of the reaction orders differ from the corresponding stoichiometric
coefficients, the reaction needs to be handled as the general case, instead of
just when the orders are non-integral.
2015-06-22 12:11:42 -04:00
Ray Speth
2aec189ddc [Reactor] Check for Reactor contents before installing FlowDevice
Fixes #279.
2015-06-22 12:11:29 -04:00
Ray Speth
c5bc4d3412 [Reactor] Fix segfaults in updateMassFlowRate due to unset parameters
The downstream and upstream Reactors, the "master" flow controller, and the
coefficient arrays were being read without checking that they had been
initialized.

Fixes #278.
2015-06-22 12:11:09 -04:00
Ray Speth
02a5409732 Add build script for Travis CI 2015-06-10 19:43:23 -04:00
Ray Speth
217d780233 Fix calls to CanteraError with blank or incorrect first argument
The first argument should be the function name from which the exception was
thrown. Leaving this blank makes it difficult to track down the location of the
exception.
2015-06-09 12:03:57 -04:00
Ray Speth
8dcde36d20 Fix invalid iterator usage in Application::close_XML_File
The iterator 'b' is invalidated by calling erase(b), which means that the
subsequent call to ++b results in undefined behavior. This was identified by
segfaults in the Matlab unit test on OS X.
2015-06-08 17:20:54 -04:00
Ray Speth
2256cd03de [Doc] Homebrew formula no longer supports '--devel' option
The '--devel' option is apparently only meant for pointing at tagged development
releases, rather than the tip of a branch.
2015-06-08 13:46:37 -04:00
Ray Speth
9ca2c16bc3 [SCons] Fix running test suite with minimal Python module 2015-06-08 11:52:02 -04:00
Ray Speth
c512e2bcbb [Doc] Update installation instructions for Cantera 2.2.0 2015-06-05 15:29:06 -04:00
Ray Speth
416490ad7a Bump version to 2.2.0 2015-06-04 18:41:20 -04:00
Ray Speth
6190cf21e5 [Ubuntu] Fix stage prefix used for Python 3 module 2015-06-04 18:41:20 -04:00
Ray Speth
835b81a6f8 [MixMaster] Display more useful error messages
Include the full text of the original exception, and print this to the terminal
as well.
2015-06-02 11:05:35 -04:00