Commit graph

267 commits

Author SHA1 Message Date
Ray Speth
f4d35e4bd7 Always pass "const std::string&" instead of "const std::string" 2012-10-24 15:44:54 +00:00
Ray Speth
1d19803885 Pass "const std::string&" instead of "std::string" when possible 2012-10-24 15:42:51 +00:00
Ray Speth
a1b2f54ffb Fixed segfault in HTML logging at intermediate log levels 2012-10-24 15:42:20 +00:00
Nicholas Malaya
957b5b3929 [cantera]: fixing a bug in file name variable. 2012-09-27 18:13:57 +00:00
Ray Speth
8afc669b67 Proof-of-concept for a Python interface written using Cython
This module is compatible with both Python 2 and Python 3. Unlike the existing
Python module, this module directly utilizes the Cantera C++ interface,
bypassing the "clib" compatibility layer, as well as all of the direct use of
the Python C API.

Currently, this contains just enough to instantiate a ThermoPhase object from an
XML input file.
2012-09-06 19:55:25 +00:00
Ray Speth
49dbb605ab Changed parseCompString to simplify its typical usage pattern 2012-08-17 16:44:34 +00:00
Ray Speth
85d9d360c7 Fixed a bunch of spelling issues 2012-08-17 16:43:34 +00:00
Ray Speth
858f355054 Removed some obsolete code for handling deprecated functions 2012-08-08 22:17:28 +00:00
Ray Speth
24d7a3e091 Removed some unused exception classes 2012-08-08 22:17:22 +00:00
Ray Speth
346605abc4 Removed some unused CTML functions 2012-08-08 22:17:05 +00:00
Ray Speth
6a78bea039 Added copyString as a consistent interface for copying std::string to char* 2012-08-02 15:48:27 +00:00
Ray Speth
c57f9b644f Conversion of Chemkin mechanisms in Python and Matlab now uses ck2cti.py 2012-07-26 20:49:37 +00:00
Ray Speth
0ff0dad483 Removed obsolete HAS_SSTREAM option 2012-07-23 22:33:41 +00:00
Ray Speth
3ce3da1fa2 Fixed code formatting 2012-07-18 18:32:29 +00:00
Nicholas Malaya
14dc965e99 fixing base directory header install path 2012-07-18 17:10:53 +00:00
Ray Speth
b5b536ff83 Removed some deprecated code 2012-07-16 22:19:10 +00:00
Ray Speth
8b6c9a0bf7 Removed some deprecated functions 2012-07-16 22:18:11 +00:00
Nicholas Malaya
4a80712846 [cantera2.0]: more makefile.am fixes--very close to compiling regression tests, now 2012-06-18 15:14:58 +00:00
Nicholas Malaya
d5432c4f8d [cantera2.0]: updating makefile.am, still more work on libexec to be done 2012-06-18 04:46:51 +00:00
Nicholas Malaya
255c1453db [cantera2.0]: more makefile.am adjustments... cantera autotools version is very nearly functioning now 2012-06-18 02:56:59 +00:00
Nicholas Malaya
92c5f5c57f [cantera2.0]: updating a few makefiles for the autotools version. Not yet working without link errors, but getting close 2012-06-18 02:29:29 +00:00
Ray Speth
6cddd8a87a Fixed 'unused variable' warninings when compiling without thread safety 2012-06-05 19:56:42 +00:00
Ray Speth
2970e0c693 Added a ScopedLock typedef that can be used without requiring extra any #ifdefs 2012-05-31 14:57:54 +00:00
Ray Speth
d3e98fe5a8 Corrected a bunch of spelling errors 2012-05-29 21:21:47 +00:00
Ray Speth
79af932b9a Fixed timeouts that could cause cti->ctml conversions to stall 2012-05-29 18:03:39 +00:00
Ray Speth
3df5c60e8f Eliminated trailing commas from some CSV files used in regression tests 2012-05-25 23:13:42 +00:00
Ray Speth
1d94cd39e3 Fixed compilation when setting "with_html_log_files=n" 2012-05-17 21:15:09 +00:00
Ray Speth
cbae64b079 Removed (broken) support for MPThreads (Mac OS 9) 2012-05-17 21:15:05 +00:00
Ray Speth
021e11456e Fixed building with thread safety 2012-05-17 21:15:01 +00:00
Nicholas Malaya
79b29300a6 [cantera]: updating autotools build system. Library building, need to fix another test. Additionally, adding hypersonic flow transport model-- need to add hypersonic thermodynamics as well. 2012-04-25 13:18:25 +00:00
Ray Speth
d4adf41799 Fixed setup of data directories on Windows 2012-04-16 20:59:48 +00:00
Ray Speth
987578d033 Increased timeout for ct2ctml subprocess 2012-04-12 15:28:28 +00:00
Ray Speth
bf5dfeaa97 Moved some #includes to the top of their respective files 2012-04-12 15:28:24 +00:00
Ray Speth
ba8c814814 Use the Windows Registry to set PYTHONPATH
Cantera's mechanism conversion scripts are now installed in the main
Cantera directory, so processing should work fine as long as Python is
on the path, whether or not the Cantera Python module is installed.
2012-04-11 20:26:05 +00:00
Ray Speth
d16f70ab44 Fixed some spelling issues 2012-04-04 18:44:24 +00:00
Ray Speth
4650e05404 Check third-body efficiencies for invalid species identifiers 2012-03-30 23:48:06 +00:00
Harry Moffat
95700d9641 Added save() to constructors of CanteraError() so that
the error will register within the application class.
2012-03-30 01:13:42 +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
4506ee2f8a Fixed some compiler warning issues 2012-03-15 19:55:18 +00:00
Ray Speth
83e1996295 Cleaned up some of the Matlab extension code 2012-03-15 19:51:45 +00:00
Ray Speth
5274b1eca0 Fixed attaching stdin and stdout to python subprocess 2012-03-13 17:31:55 +00:00
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
78a093b485 Folded class Constituents into class Phase 2012-03-09 22:56:11 +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
3bff32dd55 Fixed problems that generated warnings with the Intel compiler 2012-03-07 00:51:13 +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