Commit graph

24 commits

Author SHA1 Message Date
Ray Speth
dddfd857db Python ck2cti can read transport properties 2012-03-30 23:47:09 +00:00
Ray Speth
6a4cce979c Fixed string representations of Species in ck2cti 2012-03-30 23:47:05 +00:00
Ray Speth
cee19f67a6 Fixed handling of reaction delimiters 2012-03-30 23:47:01 +00:00
Ray Speth
c80113d767 Imported a trimmed-down version of the RMG-py Chemkin reader 2012-03-30 23:46:58 +00:00
Ray Speth
80b723cfe7 Python: Fixed reference counting issues with Func objects used by Reactors
The C++ Reactor class doesn't own a reference to the Func object. To make
borrowing the reference safe, the Python Reactor class now owns a reference,
which is guaranteed to be valid for the lifetime of the C++ Reactor object.
2012-03-25 23:25:45 +00:00
Ray Speth
c56bfab0ed Matlab: Allow simpler syntax for creating ReactorNets with one reactor
A network with a single reactor can be created with either:
    ReactorNet({reactor}), i.e. a single element cell array
or, the new way:
    ReactorNet(reactor)
2012-03-24 01:33:54 +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
4506ee2f8a Fixed some compiler warning issues 2012-03-15 19:55:18 +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
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
7676097b4a Removed execute permission from nonexecutable files 2012-03-13 17:32:41 +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
32de9a8b27 Fixed some problems printing error messages in Matlab 2012-03-10 21:25:22 +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
afe97da43f Improved version of the testpath.m utility script 2012-03-07 00:51:02 +00:00
Ray Speth
346268f09c Matlab extension compiled directly by SCons without invoking Matlab 2012-03-05 20:46:57 +00:00
Ray Speth
6cb4bd93ce Cleaned up whitespace in all Python files using reindent.py
4 spaces per indentation level, no tabs, no trailing whitespace,
and a single newline at end of each file.
2012-02-27 18:13:05 +00:00
Ray Speth
3b1694fdfb Class Storage has been eliminated in favor of class Cabinet 2012-02-27 18:12:00 +00:00
Ray Speth
4d3814d1cf Fixed a bug with Python Distutils and relative source paths 2012-02-15 23:31:37 +00:00
Ray Speth
99d951ceb8 Cantera now produces a single library for linking C++ applications 2012-02-13 17:24:34 +00:00
Ray Speth
eb2cab5f2b Updates to SCons scripts to support the new directory structure 2012-02-12 02:46:40 +00:00
Ray Speth
2528df0f75 Reorganized source tree structure
These changes make it unnecessary to copy header files around during
the build process, which tends to confuse IDEs and debuggers. The
headers which comprise Cantera's external C++ interface are now in
the 'include' directory.

All of the samples and demos are now in the 'samples' subdirectory.
2012-02-12 02:27:14 +00:00