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
Ray Speth
1b20128ad5
[1D] Miscellanous cleanup of class OneDim
2014-01-06 18:46:14 +00:00
Ray Speth
dede8dcd42
[1D] Remove redundant Domain1D::setGrid function
...
This is a duplicate of Domain1D::setupGrid.
2014-01-06 18:46:09 +00:00
Ray Speth
2653c0a16b
[1D] Move OneDim::needJacUpdate to the correct source file
2014-01-06 18:46:03 +00:00
Ray Speth
fc008d067d
[Transport] Move implementation of MultiTransport into a single file
2014-01-06 18:45:57 +00:00
Ray Speth
907bfa0a10
Eliminated possibility of throwing from XML_Node destructor
2014-01-06 18:45:52 +00:00
Ray Speth
07cf85b851
[Thermo] Made constants used in WaterProps 'static const'
2014-01-06 18:45:47 +00:00
Ray Speth
ff75f77add
Remove unnecessary m_nchildren variable from XML_Node
2014-01-06 18:45:41 +00:00
Ray Speth
b7885ea84a
Simplify XML_Node::addChild implementations
2014-01-06 18:45:36 +00:00
Ray Speth
76a9c5e79c
Remove unnecessary overload of XML_Node::addChild
2014-01-06 18:45:31 +00:00
Ray Speth
607955b9f2
Remove unnecessary conditional surrounding 'delete' statements
2014-01-06 18:45:19 +00:00
Harry Moffat
7e88d49734
Took out change of user NASA polynomials.
...
This violates basic paradigm of what the user inputs the user gets.
If this is necessary, this needs to be a cpp utility program that is run before the main simulation.
2014-01-03 20:57:40 +00:00
Bryan W. Weber
f8850963a0
Use b instead of n for temperature exponent
...
Resolves Issue 198.
2014-01-02 22:23:38 +00:00