Commit graph

6464 commits

Author SHA1 Message Date
Ray Speth
86dca05369 [Thermo] Make PureFluidPhase configurable without XML
The 'setSubstance' method allows setting the equation of state to use, which
could only be done before using the 'setParametersFromXML' method.
2017-02-03 21:56:29 -05:00
Ray Speth
62c67e4ad1 [TPX] Add factory function for Substance from species name
This function had been defined but not declared.
2017-02-03 21:53:50 -05:00
Ray Speth
ed8de04e5b [Python] Fix setting mass/mole fractions for single-species phases 2017-01-31 17:41:50 -05:00
Ray Speth
6a52908d85 [Python/1D] Make current solution residuals accessible 2017-01-31 16:58:24 -05:00
Ray Speth
78d5809d6f [Samples] Add C++ OpenMP example 2017-01-28 15:07:15 -05:00
Ray Speth
3f6f580b25 Fix issues parsing some composition strings
The parser was having issues in cases where there was both a space following the
colon and a comma following the value.
2017-01-28 00:04:36 -05:00
Ray Speth
5fcbfde40e Make error message from newSpeciesThermoInterpType more informative 2017-01-27 18:17:22 -05:00
Ray Speth
2678b57d58 [Doc] Update docstring for Kinetics::checkDuplicates 2017-01-27 18:17:22 -05:00
Bryan W. Weber
c982f50421
[Matlab/Doc] Fix docs for enthalpies_RT function 2017-01-25 07:41:43 -05:00
Ray Speth
0fd2f7c4d0 [Kinetics] Check for unmatched duplicate reactions
Reactions which are marked as duplicates but have no matching reactions are
considered errors.

Fixes #389
2017-01-23 14:34:18 -05:00
Ray Speth
7979a2b52a Add Matlab function for checking git commit 2017-01-23 14:33:31 -05:00
Ray Speth
8e89bbb8d2 Add methods for accessing the git commit used when compiling 2017-01-20 22:43:56 -05:00
Ray Speth
17c1f9dc14 [SCons] Make definition of CANTERA_DATA local to application.cpp 2017-01-20 17:58:40 -05:00
Ray Speth
ac5337130a [Kinetics] Validate balance of surface sites for interface reactions
The number of surface sites should be the same for the reactants and products.

Fixes #412
2017-01-20 17:40:34 -05:00
Ray Speth
886d7b7cdc Move MixMaster into a separate Python module and Git repository
MixMaster has been moved to https://github.com/Cantera/mixmaster
2017-01-20 16:16:32 -05:00
Ray Speth
26651cc72c Bump development version to 2.4.0a1 2017-01-20 16:16:32 -05:00
Ray Speth
0281d14e39 [Doc] Update paths to compilation instructions in INSTALL 2017-01-19 21:11:14 -05:00
Ray Speth
d2aeb8fa28 [Doc] Note availability of Windows binaries for Python 3.6 2017-01-19 21:05:02 -05:00
Ray Speth
8329edf45f [Doc] Update versions of Ubuntu for which Cantera is packaged
We can no longer build on stock 14.04 due to the requirement for Cython >= 0.23.
2017-01-12 22:28:53 -05:00
Ray Speth
4b974219b5 [SCons] Fix installation location for Debian Python packages 2017-01-12 20:23:58 -05:00
Ray Speth
6546c08f29 Bump version and copyright year for 2.3.0 release 2017-01-12 14:00:35 -05:00
Ray Speth
2c38d26407 [Doc] Remove references to old Google Code mirror 2017-01-12 13:43:39 -05:00
Bryan W. Weber
4beaa1b19b [Doc] Clarify lapack_ftn_string_len_at_end docs 2017-01-12 13:43:39 -05:00
Bryan W. Weber
24f166ede6 [Doc] Add link to numpy.org 2017-01-12 13:43:39 -05:00
Bryan W. Weber
0098b17f93 [Doc] Sundials -> SUNDIALS 2017-01-12 13:43:39 -05:00
Bryan W. Weber
7b0305f81e [Doc] Mention TDM-GCC and discourage regular MinGW 2017-01-12 13:43:39 -05:00
Bryan W. Weber
81f9daf1e7 [Doc] Update Xcode version 2017-01-12 13:43:39 -05:00
Bryan W. Weber
cfe2455cda [Doc] Move compiling docs and split into files 2017-01-12 13:43:39 -05:00
Bryan W. Weber
d735cf0017 Switch MATLAB tests to use Solution
Instead of deprecated importPhase
2017-01-12 13:43:39 -05:00
Bryan W. Weber
74a583a6d0 Add TOC to the compiling docs 2017-01-12 13:43:39 -05:00
Bryan W. Weber
608f457614 [Doc] Add Build Commands section 2017-01-12 13:43:39 -05:00
Bryan W. Weber
25db36e8cd [Doc] Rewrite and reformat configuration options section 2017-01-12 13:43:39 -05:00
Bryan W. Weber
32046f9037 [Doc] Fix various small typos in compiling docs 2017-01-12 13:43:39 -05:00
Bryan W. Weber
1db519e8c0 [Doc] Reformat and move docs for options to config-options.rst 2017-01-12 13:43:39 -05:00
Bryan W. Weber
48f43cf015 [SCons/Doc] Update/reformat docs for SCons options 2017-01-12 13:43:39 -05:00
Bryan W. Weber
e317ceef84 Clarify SCons options explanations 2017-01-12 13:43:39 -05:00
Bryan W. Weber
14dac26318 Rewrite OS X dependencies 2017-01-12 13:43:39 -05:00
Bryan W. Weber
d0acf0230a [Docs] Rewrite Windows dependency information 2017-01-12 13:43:39 -05:00
Bryan W. Weber
d84f482400 [Docs] Fix small typos in Compiling docs 2017-01-12 13:43:39 -05:00
Bryan W. Weber
cf5e45d697 [Docs] Remove instruction to install Sundials via system installer
The source of Sundials is built automatically, so it isn't necessary to install it
separately.
2017-01-12 13:43:39 -05:00
Bryan W. Weber
bffd4d2de1 [Docs] Rewrite Linux compiling requirements section
Reframe in terms of requirements for each distro. Add OpenSUSE.
2017-01-12 13:43:39 -05:00
Bryan W. Weber
983b2cc015 [Matlab/Doc] Fix typos in docs for some ThermoPhase getters
These actually return scalars, although the docstrings
said they returned vectors
2017-01-03 21:57:06 -05:00
Steven DeCaluwe
d655cf0eae Correcting RedlichKwongMFTP::getActivityConcentrations
Implementing correct 'activity concentrations' routine, based on
fugacity coefficients, and cleaning up extraneous comments, whitespace, etc.
2017-01-02 09:03:07 -05:00
Ray Speth
1593c2fc5f [Doc] Update Homebrew installation instructions
Homebrew installation does not need pip-installed Cython.

External Sundials is automatically disabled when using Matlab, and does not
incur any penalties.
2016-12-30 13:26:50 -05:00
Ray Speth
e7923cedbb [SCons] Remove unnecessary configuration tests 2016-12-30 13:26:50 -05:00
Ray Speth
4669b9cf5a Fix miscellaneous spelling errors 2016-12-30 13:26:50 -05:00
Bryan W. Weber
3014b7af89 [SCons] Fail the numpy check more gracefully
An import error with NumPy caused the build to fail when it shouldn't.
This fixes that and fixes #414. Also implement a minimum version
warning check with NumPy. The warning message is printed if the NumPy
version that's found is less than the version we test with.
2016-12-30 13:23:54 -05:00
Bryan W. Weber
04b5498a24 [SCons] Refactor Cython check to error if min_version not met
Previously, the warning message would print, but the full package would be built anyways.
This caused errors later in the build process that this check is supposed to handle.
2016-12-30 13:23:54 -05:00
Bryan W. Weber
c7555f1eae [SCons] Deprecate the new Python interface option 2016-12-30 13:23:54 -05:00
Ray Speth
d9ff992817 Fix temporary cti filename for MinGW 2016-12-29 22:06:27 -05:00