Ray Speth
ca0ea8bc35
[SCons] Simplify treatment of sydep1.h and signal1.h
...
We don't actually have system-dependent versions of these headers,
so just put the templates in place directly.
2014-02-20 03:00:45 +00:00
Ray Speth
03c891ba18
[SCons] Fix a missing SCons dependency
2014-02-20 03:00:41 +00:00
Bryan W. Weber
3de3842e3c
[MixMaster] Fix variable ambiguity in DataFrame.py.
...
Fix file not closed bug in importCSV. Import from XML is broken due
to missing XML module.
2014-02-19 22:45:00 +00:00
Ray Speth
771ff96e86
[MixMaster] Fixes to use Cython function names
...
DataFrame.importCSV and dataFrame.importData were still using function names
from the old Python module.
2014-02-14 16:40:58 +00:00
Ray Speth
377d3877f7
[MixMaster] Fix usage of numpy.zeros and numpy.ones
2014-02-14 16:40:54 +00:00
Ray Speth
78f6314cd9
Remove misleading reference to 'preconfig'
2014-02-13 22:26:49 +00:00
Ray Speth
4ca1d9dd1d
[Matlab] Fix detection of errors when importing Kinetics
...
Cast the unsigned return type of newKineticsFromXML to a signed type so that the
check on the Matlab side (which looks at the sign of the return value) can
detect and report errors.
2014-02-13 22:26:45 +00:00
Ray Speth
452a9160f0
[Doc] Fix line lengths in Cython migration guide
2014-02-13 22:26:40 +00:00
Ray Speth
bc4d68eb20
[Cython] Add saveState/restoreState info to the migration guide
2014-02-13 22:26:36 +00:00
Victor Brunini
92a3d13752
Prevent hidden overloaded virtual function compiler warning.
2014-02-12 21:30:09 +00:00
Ray Speth
43360663c2
[SCons/Test] Include GTest unit tests individually in test result summary
2014-02-06 22:59:10 +00:00
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