Commit graph

10 commits

Author SHA1 Message Date
Ray Speth
0045bc0a71 Removed unused tmpDir and sleep functions 2012-03-09 23:00:16 +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
92017de067 Removed some vestigial ifdef blocks 2012-03-09 22:58:17 +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
ebc6ef1e47 Improved error message printed when ct2ctml fails
Now we actually print the contents of the log file.
2012-03-05 20:46:52 +00:00
Ray Speth
2fa2d98171 Exceptions generate less mysterious error messages in a few places 2012-03-05 20:46:46 +00:00
Ray Speth
8c23a12152 Removed attempt to get PYTHON_CMD from setup_cantera
This code didn't work because changes in the environment of the
system(...) call aren't propagated back to the caller.
2012-02-24 03:17:39 +00:00
Ray Speth
18bce3bc62 Fixed lines ending with doubled semicolon. 2012-02-22 00:16:10 +00:00
Ray Speth
a310345b9e Updated #includes to reflect new header file locations 2012-02-12 02:44:14 +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
Renamed from Cantera/src/base/ct2ctml.cpp (Browse further)