Ray Speth
92d17b5feb
[Doc] Update branch in git checkout instructions to 2.2
2016-01-28 15:37:38 -05:00
Ray Speth
d7b1216f56
[Reactor] Fix null pointer dereference in FlowDevice::install
...
Taking the address of a dereferenced null pointer is still undefined
behavior. This was causing the test TestReactor.test_valve_errors to fail on
some versions of OS X.
2016-01-28 15:26:36 -05:00
Ray Speth
d35f6ab6f2
Bump version to 2.2.1
2016-01-26 14:09:51 -05:00
Ray Speth
3043a5d872
Fix indexing error in ImplicitSurfChem::eval
...
This method was not working in the case where there was more than one surface
phase, since 'loc' was always set to zero.
2016-01-25 18:39:47 -05:00
Ray Speth
e805d4d9ad
Fix LD_LIBRARY_PATH order when running tests
...
build/lib needs to be first in case LD_LIBRARY_PATH contains another Cantera
installation.
Resolves #310 .
2016-01-25 18:39:29 -05:00
Bryan W. Weber
8d1f374fc7
[Doc] Add link to Working with Input Files section
2016-01-25 18:39:16 -05:00
Bryan W. Weber
2b2b0947ec
[Doc] Update docs for ck2cti
...
Update documentation to give short tutorial and reflect most recent
version. Add notes for common errors encountered. Remove old ck2cti
docs from Matlab and Cython interface documentation, prefering
cti/input-files.rst. Resolves #295 .
2016-01-25 18:39:01 -05:00
Ray Speth
4c23fc2d1d
[Python] Fix full-state (e.g. TPX) properties of PureFluid
...
The implementations which come from ThermoPhase expect "X" to mean mole
fractions, but for PureFluid "X" means vapor fraction. No setter is provided
since all three properties cannot be specified simultaneously.
Resolves #307
2016-01-25 18:35:35 -05:00
Bryan W. Weber
8b5271e6ea
[SCons] Fix Cantera.mak cannot be written if extra_inc_dirs or extra_lib_dirs is specified
2016-01-25 18:35:03 -05:00
Bryan W. Weber
f51bb43f96
[Doc] Recommend to use pip to install optional Python packages on Ubuntu
2016-01-25 18:33:53 -05:00
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