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
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
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
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
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
Ray Speth
3bff32dd55
Fixed problems that generated warnings with the Intel compiler
2012-03-07 00:51:13 +00:00
Ray Speth
559163d2ca
Fixes to allow building the Matlab toolbox with MinGW
2012-03-07 00:50:58 +00:00
Ray Speth
6f306dbc1c
Fixed a missing include needed to compile the F90 interface
2012-03-07 00:50:53 +00:00
Ray Speth
baade7fbad
Link Python and Matlab modules against shared BLAS/LAPACK when necessary
2012-03-05 20:47:08 +00:00
Ray Speth
346268f09c
Matlab extension compiled directly by SCons without invoking Matlab
2012-03-05 20:46:57 +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
9cdf079d2d
Added templated generic exception handler for clib functions
2012-03-05 20:46:34 +00:00
Ray Speth
54efbaa320
Rewrote exception handling to be more general and more explicit
...
CanteraError inerits from std:exception, so now it has a what() method
that is used to print a message describing the exception. Adding an
exception to the Cantera error stack now requires explicitly calling
the .save() method.
2012-03-05 20:45:56 +00:00
Ray Speth
e3b5ee802e
Contents of misc.cpp relocated
...
The functions formerly defined in misc.cpp are now defined in the
source files corresponding to the header files where they were
declared.
2012-03-05 20:45:31 +00:00
Ray Speth
8150f49c2c
Simplified adding SCons build and install targets
2012-03-05 20:45:20 +00:00
Ray Speth
21100f1cb0
Fixed Jacobian evaluation problems in AxiStagnFlow::eval
2012-03-05 20:44:46 +00:00
Ray Speth
38322d720a
Fixed indexing problems when evaluating Jacobian for 1D simulations
2012-03-01 16:56:36 +00:00
Ray Speth
70cdd1be3e
Made linking to Sundials libraries more consistent
2012-03-01 00:44:50 +00:00
Ray Speth
5c5bff7d79
Removed unused function 'smlequ'
2012-03-01 00:44:38 +00:00
Ray Speth
6a9f3ea892
Marked some unused functions as deprecated
2012-03-01 00:44:31 +00:00
Ray Speth
657ed19371
Fixed warnings related to printf/sprintf
2012-02-28 19:02:00 +00:00
Ray Speth
ffb7049a74
Marked a few unused member variables as deprecated
2012-02-28 19:01:50 +00:00
Ray Speth
e487d95054
Fixed a few "unused variable" warnings
2012-02-28 19:01:43 +00:00
Ray Speth
8877f95e3c
Modified some compiler warning settings
2012-02-28 19:01:35 +00:00
Ray Speth
6195b488c2
Allow compilation of the Fortran 90 module with MinGW
2012-02-27 18:16:00 +00:00
Ray Speth
27314703a0
Fixed qualifiers for functions that are part of the Cantera DLL
2012-02-27 18:15:47 +00:00
Ray Speth
981a04a325
Split Kinetics::kineticsSpeciesIndex into two separate functions
2012-02-27 18:15:41 +00:00
Ray Speth
1e5d4d50e1
Fixed an array indexing error in tpx::Water::ldens
2012-02-27 18:15:27 +00:00
Ray Speth
236756fbf0
Removed rogue tabs in the C++ source code
2012-02-27 18:15:02 +00:00
Ray Speth
8bce9d7332
Fixed compiler warnings revealed by MinGW
2012-02-27 18:14:43 +00:00
Ray Speth
7f12656925
Fixed some self-assignment errors
2012-02-27 18:14:35 +00:00
Ray Speth
b955395ed1
Skip cast from size_t to int when calling int2str
2012-02-27 18:14:17 +00:00
Ray Speth
af6303a67e
Removed class ArrayViewer (use Array2D instead)
2012-02-27 18:14:08 +00:00
Ray Speth
6cc7f491a6
Removed some pointless comments
2012-02-27 18:14:00 +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