Commit graph

3669 commits

Author SHA1 Message Date
Ray Speth
9124b361dc Added a few basic thermo tests to the Matlab unit tests 2012-03-23 22:16:28 +00:00
Ray Speth
8ea4ae728a Moved a few standard library includes to more local scopes 2012-03-23 22:16:04 +00:00
Ray Speth
6c29c0fe84 Syntax errors in CTI files now show more context lines 2012-03-16 14:44:31 +00:00
Ray Speth
4879c6db47 Fixed out-of-bounds string indexing in ck2cti 2012-03-15 22:49:10 +00:00
Ray Speth
f22ecac5c4 Use the Accelerate framework for BLAS and LAPACK on OS X 2012-03-15 22:49:04 +00:00
Ray Speth
9dc9ddc1bc Fixed removal of the Matlab unit test output file 2012-03-15 22:48:59 +00:00
Ray Speth
04841e181c Fixed generating Cantera.mak on OS X 2012-03-15 19:55:34 +00:00
Ray Speth
17554bd0a0 Fixed an issue with comparing repeated values in regression tests 2012-03-15 19:55:30 +00:00
Ray Speth
4506ee2f8a Fixed some compiler warning issues 2012-03-15 19:55:18 +00:00
Ray Speth
6ec589a9e5 Fixed compiler warnings in libexecstream 2012-03-15 19:55:07 +00:00
Ray Speth
d27066d7bd Whitespace cleanup of libexecstream 2012-03-15 19:55:00 +00:00
Ray Speth
e4f2acaf3d Fixed issues with Matlab toolbox identified by the code analyzer 2012-03-15 19:54:41 +00:00
Ray Speth
790d40b00c Normalized whitespace and indentation in the matlab toolbox 2012-03-15 19:52:58 +00:00
Ray Speth
b159a8f20b Removed declarations for non-existent C interface functions 2012-03-15 19:52:44 +00:00
Ray Speth
503f57a24e Modified MSVC debugger options to allow parallel builds
We now generate a .pdb file per source file, rather than having multiple
copies of the compiler trying to write to the same shared .pdb file
2012-03-15 19:52:40 +00:00
Ray Speth
870ae7ede2 Fixed compilation of the RedlichKwongMFTP class
Enabled with the build option "with_real_gases".
Class has no test cases.
2012-03-15 19:52:35 +00:00
Ray Speth
b3ae0c9208 Use quotes instead of angle brackets for non-system header #includes 2012-03-15 19:52:16 +00:00
Ray Speth
ca4212cc57 Removed a number of unused / redundant typedefs 2012-03-15 19:51:57 +00:00
Ray Speth
83e1996295 Cleaned up some of the Matlab extension code 2012-03-15 19:51:45 +00:00
Ray Speth
d8edde0264 Expanded array bounds checking in C interface functions 2012-03-15 19:51:37 +00:00
Ray Speth
b145ee407d Moved m_nsp up to Transport from derived classes 2012-03-15 19:51:25 +00:00
Ray Speth
1e8870191d Moved m_kk up to the base Kinetics class 2012-03-15 19:51:16 +00:00
Ray Speth
d573ae6625 Configured Sphinx to use MathJax 2.0 2012-03-15 19:51:09 +00:00
Ray Speth
b4ceb7da2e Reformatted the Python docstrings to work better with Sphinx
This means that the docstrings are now parsed as reStructuredText.
2012-03-13 17:34:47 +00:00
Ray Speth
09d9ded2e7 Added templates for using Sphinx to generate the Python module docs 2012-03-13 17:34:38 +00:00
Ray Speth
7676097b4a Removed execute permission from nonexecutable files 2012-03-13 17:32:41 +00:00
Ray Speth
c30e7b2c0f Updated compilation instructions 2012-03-13 17:32:25 +00:00
Ray Speth
bac65b26a1 Added machinery for unit testing of the Matlab toolbox
Unit tests are written using the Matlab xUnit Test Framework
2012-03-13 17:32:10 +00:00
Ray Speth
45eae5b351 Matlab: fixed importing files from paths containing periods
This includes handling relative paths specified with '..'
2012-03-13 17:32:02 +00:00
Ray Speth
5274b1eca0 Fixed attaching stdin and stdout to python subprocess 2012-03-13 17:31:55 +00:00
Ray Speth
32de9a8b27 Fixed some problems printing error messages in Matlab 2012-03-10 21:25:22 +00:00
Ray Speth
8799001ee3 Prevent window from being created by python ct2ctml subprocess
When using Cantera from a GUI app, the python process was inheriting
window settings from the parent, and launching in a window that didn't
accept input from the calling process, causing the conversion to fail.
2012-03-10 21:25:17 +00:00
Ray Speth
22bdb58f33 Added consistent, complete exception handling to C interface functions 2012-03-09 23:00:31 +00:00
Ray Speth
0045bc0a71 Removed unused tmpDir and sleep functions 2012-03-09 23:00:16 +00:00
Ray Speth
3be53356a2 Updated sample build scripts to include pthread where necessary 2012-03-09 22:59:50 +00:00
Ray Speth
82d467944f Eliminated temporary files from the ct2ctml conversion process
Added libstringstream, which maps stdin and stdout to std::iostream.
Using this library means we no longer create either the temporary .py
file or the ct2ctml.log file.

This also eliminates the synchronization problems that motivated the
sleep commands around the system call, so cti to ctml conversions are
significantly faster now.
2012-03-09 22:59:21 +00:00
Ray Speth
b5fdb92146 Python tests now have SCons dependency on the Python extension
This means that running a Python test will cause the Python extension
to be built, and that changes in the source will cause the Python tests
to rerun.
2012-03-09 22:59:04 +00:00
Ray Speth
950ebbb2ca Fixed a malformed format string in vcs_solve_TP
This was causing intermittent test failures in the VCS regression
test.
2012-03-09 22:58:53 +00:00
Ray Speth
92017de067 Removed some vestigial ifdef blocks 2012-03-09 22:58:17 +00:00
Ray Speth
f3968fdda8 Removed unnecessary manual memory management from ChemEquil 2012-03-09 22:57:57 +00:00
Ray Speth
312b7ff2c4 Deprecated the global "report(ThermoPhase&)" function 2012-03-09 22:57:35 +00:00
Ray Speth
c440373aba Folded class Elements into class Phase 2012-03-09 22:57:18 +00:00
Ray Speth
7e39e91b5b Cleaned up documentation and comments for class Phase 2012-03-09 22:57:05 +00:00
Ray Speth
78a093b485 Folded class Constituents into class Phase 2012-03-09 22:56:11 +00:00
Ray Speth
e41f43300f Folded class State into class Phase 2012-03-09 22:55:34 +00:00
Ray Speth
775ed1c609 Moved overview of Phase/Thermophase into the doxygen directory 2012-03-09 22:55:16 +00:00
Ray Speth
474f423ca4 Automatically clean up ct2ctml.log files unless there is an error 2012-03-09 22:55:03 +00:00
Ray Speth
9753cc7c40 Deprecated the unused "userInterface" function 2012-03-09 22:54:47 +00:00
Ray Speth
0312f6dc21 Removed exception-based flow control from Sim1D::solve 2012-03-09 22:54:35 +00:00
Ray Speth
50bef3ee5c Fixed an environment issue with Python subprocesses 2012-03-09 22:54:21 +00:00