Commit graph

4842 commits

Author SHA1 Message Date
Ray Speth
fb2f52b2ec General cleanup of class ThermoPhase 2014-02-06 22:59:07 +00:00
Ray Speth
14b1bf093b Remove option to disable 'h298modify_capability' at compile-time 2014-02-06 22:58:56 +00:00
Ray Speth
03be898300 [ck2cti] Skip non-ASCII characters in input files 2014-02-06 22:58:53 +00:00
Ray Speth
3015e90088 General cleanup of ctml functions 2014-02-06 22:58:49 +00:00
Victor Brunini
171681bf13 Cache result of expensive function call in HMWSoln for reuse.
Went from 440s runtime down to 65s for test case of interest.
2014-02-03 19:48:02 +00:00
Ray Speth
eaceaf7b86 [SCons] Use SCons to compile the Cython extension
Fixes issues with mismatched compilers between the Cython extension and the
cantera library, especially on OS X. Improves build dependency resolution to
eliminate unnecessary recompilation of _cantera.cpp.
2014-01-31 23:15:17 +00:00
Ray Speth
d516d46f33 Remove unnecessary use of static_cast<int> 2014-01-31 23:15:09 +00:00
Ray Speth
3dc335565c Fix missing include in application.cpp
Causes compilation errors on OS X 10.8.
2014-01-31 03:44:27 +00:00
Ray Speth
d4a9ca0847 [SCons] Fix simultaneous compilation of Python 2 and Python 3 modules
Use separate SCons Environments so the 'py_include_dirs' variable (which
contains the Numpy include directory) can be distinct for each Python module.
2014-01-30 00:48:03 +00:00
Ray Speth
6a9fee8805 [Test] Register premature termination of Python tests as a failure 2014-01-30 00:47:58 +00:00
Ray Speth
e59a7a7eeb [1D] Eliminate deprecated methods of Domain1D 2014-01-30 00:47:52 +00:00
Ray Speth
f9278b7e68 Remove unused 'install_tsc' script 2014-01-30 00:47:44 +00:00
Ray Speth
ff9584105b Do implicit CTI to XML conversions without generating .xml files
When instantiating a phase from a .cti file, do the conversion in memory,
without writing the XML representation to disk. This eliminates the unrequrested
XML files that Cantera normally generates, and also avoids errors when running
Cantera from a directory where the user does not have write permissons.
2014-01-30 00:47:37 +00:00
Ray Speth
aae8982924 Clean up end-of-file whitespace 2014-01-30 00:47:24 +00:00
Ray Speth
4c504a4ff2 [Test] Simplify reported names of failing Cython tests 2014-01-24 20:40:43 +00:00
Ray Speth
e7944771c5 [Test] Fix failure count to include Python tests which report 'ERROR' 2014-01-24 20:40:37 +00:00
Ray Speth
3c703eb4ed [Cython/1D] Use 'Mix' transport if no transport model is provided 2014-01-24 20:40:32 +00:00
Ray Speth
c34877a96f [ck2cti] Fix support for species names containing '+' and '='
This addesses a parsing error that would occur if a mechanism contained both
'foo' and 'foo+', where reactions written as 'foo+bar' would be parsed as a
reaction with 'foo+' and 'bar'.

See Issue 182.
2014-01-24 20:40:26 +00:00
Ray Speth
d9af4af88f [Fortran] Fix compiler used for building Fortran sample programs 2014-01-23 04:20:48 +00:00
Ray Speth
a33c57d1f1 [1D] Remove unused method 'setAdiabaticFlame' 2014-01-23 04:20:42 +00:00
Ray Speth
904459c6b8 [1D] Remove unused 'importSolution' function 2014-01-23 04:20:35 +00:00
Ray Speth
e51ca819fe [SCons] Fix an error when not using Sundials
'has_sundials_lapack' is only defined if we are using Sundials.
2014-01-21 18:06:47 +00:00
Ray Speth
2144738ea1 [SCons] Fix minor typo in warning message 2014-01-21 17:22:14 +00:00
Ray Speth
1ff7bc2f3b [SCons] Remove check for <tr1/tuple>
Updated gtest version makes this special case unnecessary.
2014-01-21 17:22:09 +00:00
Ray Speth
b95d87e1f7 [Test] Update gtest to 1.7.0 2014-01-21 17:21:50 +00:00
Ray Speth
cf0ff0c6fd [1D] Move m_zfixed and m_tfixed variables from Domain1D to FreeFlame
FreeFlame is the only subclass of Domain1D where these variables are used.
2014-01-21 17:21:43 +00:00
Ray Speth
f45e627745 Fix compiler warnings about implicit double -> int conversions 2014-01-21 17:21:37 +00:00
Bryan W. Weber
4badbd1fb3 [SCons/0D] Update to enable Sundials linked with external BLAS/LAPACK.
With help from Nick Curtis and Ray Speth.
2014-01-20 15:19:53 +00:00
Victor Brunini
8c4312f31e Fix potential segmentation fault and invalid read. 2014-01-14 16:51:20 +00:00
Ray Speth
22eac2abcd [Sphinx/Cython] Add call signatures to constructors 2014-01-11 00:20:33 +00:00
Ray Speth
a3d8684d94 [Samples] Explicitly set transport model to 'Mix' for clarity 2014-01-11 00:20:27 +00:00
Ray Speth
d3422e70dd [SCons] Fix count of skipped tests
Exclude the partial tests of the Cython module which are included in the full
test.
2014-01-11 00:20:21 +00:00
Ray Speth
e31eb0ccf0 [SCons] Include Python unit tests individually in test result summary 2014-01-09 23:12:32 +00:00
Ray Speth
a75a9c6e21 [SCons] Install Python 3 module to stage directory 2014-01-09 23:12:27 +00:00
Ray Speth
2a37111d33 [SCons] Add Boost libraries when building the shared library 2014-01-09 23:12:18 +00:00
Ray Speth
dfc542be76 Fix some issues identified by compiler warnings 2014-01-09 23:12:11 +00:00
Ray Speth
f3b1555a6b [Cython] By default, use same interpreter for mechanism conversions
Fixes failures when only the Python 3 module is present.
2014-01-09 23:12:03 +00:00
Ray Speth
f3e0280716 Improve error handling when calling ck2cti and ctml_writer
Only look for modules in the new location (inside the cantera package), and
print the path if they aren't found, to aid in debugging.
2014-01-08 17:10:53 +00:00
Ray Speth
562eed68d9 Fix missing include in csvdiff
"std::exit" is declared in <cstdlib>. Fixes compilation errors on OS X 10.9.
2014-01-08 17:10:48 +00:00
Bryan W. Weber
a689717a7a [Matlab] Add isothermalCompressibility and thermalExpansionCoeff functions
Resolves Issue 157.
2014-01-08 17:10:41 +00:00
Ray Speth
a8d8f3f0ca [SCons] Check for <tr1/tuple>
This header is used by GTest. If not present, define 'GTEST_USE_OWN_TR1_TUPLE'
to use an alternative version. Fixes a compilation error on OS X.
2014-01-08 17:10:34 +00:00
Ray Speth
908b63fccd [Cython] Fix compilation issue when using Clang 2014-01-08 17:10:29 +00:00
Bryan W. Weber
1d1ad21840 [ck2cti] Fix for support of unterminated thermo sections
Fixes the case where the next section header contains a modifier, e.g. 'thermo
all' or 'reactions <units>'.

See Issue 199.
2014-01-06 18:47:02 +00:00
Bryan W. Weber
b5c2881f64 [ck2cti] Add extra info about handling of extra thermo parameters
See Issue 199.
2014-01-06 18:46:55 +00:00
Bryan W. Weber
e3ab2dbf8a [ck2cti] Improve handling of duplicate species
Warn when a species is given multiple times in the input list. Do not add the
duplicate species to speciesList.

Resolves Issue 199.
2014-01-06 18:46:49 +00:00
Bryan W. Weber
7deb45a840 [Matlab] Check for sparse arrays in the Solution 'set' function
Resolves Issue 140.
2014-01-06 18:46:43 +00:00
Bryan W. Weber
120c6e742c [Matlab] Add fwdRateConstants and revRateConstants functions
Resolves Issue 125.
2014-01-06 18:46:36 +00:00
Bryan W. Weber
16335a0932 [Matlab] Allow nAtoms to take string inputs for species and elements
Resolves Issue 159.
2014-01-06 18:46:30 +00:00
Ray Speth
3a308a041f [Matlab] Remove broken rxnEqs function
"ReactionEqn" is the working alternative. See Issue 118.
2014-01-06 18:46:25 +00:00
Ray Speth
a2d26cd80a [Kinetics] Simplifiy implementation of Kinetics::nTotalSpecies 2014-01-06 18:46:19 +00:00