Commit graph

76 commits

Author SHA1 Message Date
Ray Speth
e04e59cdd3 Removed extraneous parentheses around arguments to 'return'
'return' is a keyword, not a function, so these parens are unnecessary.
2013-02-14 01:03:48 +00:00
Ray Speth
4e3a79394b Eliminated some shadowing of member variables by function arguments 2013-02-14 01:03:19 +00:00
Ray Speth
1a0b59efd4 Eliminated unnecessary variable shadowing in write_logfile 2013-02-14 01:03:05 +00:00
Ray Speth
7da738d238 Re-applied consistent formatting to trunk
Applied using: astyle -n --style=kr --add-brackets --indent=spaces=4
--indent-col1-comments --unpad-paren --pad-header --align-pointer=type
--lineend=linux
2013-02-07 23:40:59 +00:00
Ray Speth
990a0b5491 Fixed an error that prevented HTML log files from being written 2013-01-07 18:08:17 +00:00
Ray Speth
1e43e4f333 Added a version of writelog which takes the log level as an argument 2012-12-30 00:17:08 +00:00
Harry Moffat
eab8781ea7 Added back ability to get transport parameters from transport objects.
Added back read and write of named XML array blocks.
Fixed an error in IonsFromNeutralVPSSTP.
2012-12-21 01:18:28 +00:00
Harry Moffat
27671cf299 Added back in getNamedStringValue() definition. Somehow it had gotten erased, causing multiple problems to fail. 2012-11-07 23:29:08 +00:00
Ray Speth
3df93b8f4c Removed some dead code 2012-10-24 15:45:08 +00:00
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