Commit graph

5938 commits

Author SHA1 Message Date
Ray Speth
f0e6d090dc [Fortran] Fix for multiple definitions of '_xml' function
This was causing linker errors when trying to link with the Fortran library.
2016-02-24 18:59:23 -05:00
pwcnorthrop
1183479f88 Add RedlichKister tests and sample case for LiC6 electrode
See #293
2016-02-17 23:34:36 -05:00
pwcnorthrop
125d2e0e23 Add RedlichKisterVPSSTP::s_update_dlnActCoeff_dlnX_diag()
Fixes bug in RedlichKisterVPSSTP::getlnActCoeffdlnX_diag() which would always return 0

Resolves #293
2016-02-17 23:34:36 -05:00
Bryan W. Weber
db769a47c7 Bump in-progress version to 2.3.0a2 2016-02-06 07:44:10 -05:00
Bryan W. Weber
5b483a8c22 The cantera_version should not be an option 2016-02-06 07:44:10 -05:00
Bryan W. Weber
58551b4813 [Doc] Cantera supports Python 3.5 2016-02-06 07:44:09 -05:00
Bryan W. Weber
848650f4fb [Doc] Fix copyright year 2016-02-06 07:44:09 -05:00
Ray Speth
b55c8fe813 Replace overly-specific exception types with CanteraError
Deprecate exception types which are now unused.
2016-02-04 19:34:26 -05:00
Ray Speth
f44b5fed57 Replace usage of int2str with cppformat and deprecate int2str 2016-02-04 19:11:49 -05:00
Ray Speth
f91afda8cb Replace usage of fp2str with cppformat and deprecate fp2str 2016-02-04 19:11:45 -05:00
Ray Speth
b0230fb146 Modify BandMatrix to avoid unnecessary casts from size_t to int 2016-02-04 14:45:36 -05:00
Ray Speth
9a8d24463d [Test] Add tests for class BandMatrix 2016-02-04 14:45:36 -05:00
Ray Speth
4c58f11dd8 Improve use of local variables in src/base 2016-02-04 14:45:36 -05:00
Ray Speth
484da253da Use cppformat instead of stringstream in some places 2016-02-04 14:45:21 -05:00
Ray Speth
785b829b5d [Doc] Update SCons installation instructions
- 64-bit Windows installers are now available.
- Download URL has changed.
2016-02-03 19:57:06 -05:00
Ray Speth
84ede11e6a Remove unimplemented method SimpleTransport::updateViscosities_C 2016-02-02 23:14:35 -05:00
Ray Speth
51e0c9158a [Python/1D] Generalize initial profile generation for diffusion flames
The calculation of the stoichiometric mixture composition now works for
arbitrary fuel and oxidizer mixtures, including multi-component fuels and fuels
containing oxygen. In addition, it is not necessary to specify any additional
arguments when generating the initial profile.
2016-02-02 15:03:11 -05:00
Ray Speth
28156cc511 [Doc] Use proper memory management in C++ examples 2016-02-01 19:23:44 -05:00
Ray Speth
a374d8b0fe [Doc] Fix formatting in C++ guide 2016-02-01 15:23:23 -05:00
Ray Speth
98d1bacd01 [Doc] Update versions of Python and Ubuntu with prebuilt binaries 2016-02-01 14:49:16 -05:00
Ray Speth
89dc89823b [Doc] Current Windows Python installers already include pip 2016-02-01 14:47:44 -05:00
Ray Speth
e07b7b22dc [1D] Make diffusion flame profile generation work with lowercase 'o2' 2016-01-29 18:19:13 -05:00
Ray Speth
4379a076ab [Python] Print values which cause exceptions in the error message 2016-01-29 16:36:54 -05:00
Ivan Mitrichev
c3d154fd72 [ctml] fix molecular geometry (nonlin -> nonlinear)
Fix list of allowed values. Remove incorrect default value.

Resolves #316.
2016-01-29 16:30:40 -05:00
Ray Speth
8b64b6f4f7 [Matlab] Fix printing of error messages 2016-01-29 15:38:13 -05:00
Bryan W. Weber
97697e09e1 Overwritten -> Overridden 2016-01-25 13:14:50 -05:00
Bryan W. Weber
02f0e273d9 Add a note about the state setters to PureFluidPhase 2016-01-25 13:14:50 -05:00
Bryan W. Weber
bff8d10609 [Matlab] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
Bryan W. Weber
c1f287d648 [C API] Add interface to the new PureFluid property pairs 2016-01-25 13:14:50 -05:00
Bryan W. Weber
71e2101cdf [Test] Add tests for new PureFluid property pairs 2016-01-25 13:14:50 -05:00
Bryan W. Weber
4220692d0d Whitespace fixup in test_purefluid.py 2016-01-25 13:14:50 -05:00
Bryan W. Weber
49cb039536 [Cython] Add interface for new PureFluid property pairs 2016-01-25 13:07:34 -05:00
Bryan W. Weber
af81729504 [Cython] Add units to PureFluid property docstrings 2016-01-25 13:07:34 -05:00
Bryan W. Weber
50a97063b7 Reduce relative tolerance of state setter in Substance
Reduce the relative tolerance from 3.e-8 to 1.e-8.
2016-01-25 13:07:34 -05:00
Bryan W. Weber
63cfed1503 Add functions to set property pairs specified in Sub.cpp
Add functions to set the unimplemented property pairs specified
in the Substance::Set function of Sub.cpp
2016-01-25 13:07:34 -05:00
Bryan W. Weber
31316b7079 Switch PureFluidPhase to use double instead of doublereal 2016-01-25 13:07:34 -05:00
Bryan W. Weber
9970b4bcc5 Fix typo in ThermoPhase.h 2016-01-25 13:07:34 -05:00
Bryan W. Weber
28e8fa1d2d Whitespace fixup in comments in ThermoPhase.h 2016-01-25 13:07:34 -05:00
Ray Speth
efd6d232c7 [Cython] Fix conversion of element-related strings to Python strings 2016-01-24 23:27:39 -05:00
Bryan W. Weber
c72f1b607a [Test] Add test for elements with multiple matches depending on old string splitting method 2016-01-22 18:18:43 -05:00
Bryan W. Weber
f95f118515 Make the name of an element in Python always lowercase 2016-01-22 18:18:43 -05:00
Ray Speth
9276f56008 Use full string (minus white space) when matching element names/symbols
Also make check for element names case-insensitive.
2016-01-22 18:18:43 -05:00
Bryan W. Weber
9577409516 [Doc] Add documentation for new Element class and functions 2016-01-22 18:18:43 -05:00
Bryan W. Weber
b351c624da [Test] Add tests for new Element class and functions 2016-01-22 18:18:43 -05:00
Bryan W. Weber
ba8c906cd8 [Cython] Add interface to new Element information functions 2016-01-22 18:18:43 -05:00
Bryan W. Weber
c324386fb2 Add functions to get more information about elements.
Add functions to get the atomic number, name, symbol, and weight
of elements looked up by the atomic number, name, or symbol.
2016-01-22 18:18:43 -05:00
Bryan W. Weber
f3bc7a5d5b Replace LookupWtElements with getElementWeight function
Deprecate LookupWtElements. Also split the atomic weights
database into one for named elements and for named isotopes.
2016-01-22 18:18:42 -05:00
Bryan W. Weber
af48524593 [Doc] Fix missing file after rename in Matlab docs 2016-01-22 17:37:41 -05:00
Bryan W. Weber
82d4b50bef [Doc] Fix warnings in Sphinx/Matlab docs 2015-12-27 16:50:18 -05:00
Bryan W. Weber
ee9d5750a3 [Matlab] Add missing PureFluid constructors for fluids defined in liquidvapor.xml 2015-12-26 14:54:37 -05:00