Ray Speth
7676097b4a
Removed execute permission from nonexecutable files
2012-03-13 17:32:41 +00:00
Ray Speth
c30e7b2c0f
Updated compilation instructions
2012-03-13 17:32:25 +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
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
8799001ee3
Prevent window from being created by python ct2ctml subprocess
...
When using Cantera from a GUI app, the python process was inheriting
window settings from the parent, and launching in a window that didn't
accept input from the calling process, causing the conversion to fail.
2012-03-10 21:25:17 +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
3be53356a2
Updated sample build scripts to include pthread where necessary
2012-03-09 22:59:50 +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
775ed1c609
Moved overview of Phase/Thermophase into the doxygen directory
2012-03-09 22:55:16 +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
66ada1c423
Cleaned up the implementation of the NASA9poly test
2012-03-09 22:54:09 +00:00
Ray Speth
4534819d1d
Fixed running the Python unit tests when building with the Intel compiler
2012-03-07 00:52:00 +00:00
Ray Speth
692f1249ae
Deprecated some unused functions in SpeciesThermoMgr.h
2012-03-07 00:51:56 +00:00
Ray Speth
11d97dfbbf
Simplified definitions in class SpeciesThermoDuo
2012-03-07 00:51:51 +00:00
Ray Speth
55db95974c
Removed deprecated SpeciesThermo1 class
2012-03-07 00:51:46 +00:00
Ray Speth
3bff32dd55
Fixed problems that generated warnings with the Intel compiler
2012-03-07 00:51:13 +00:00
Ray Speth
afe97da43f
Improved version of the testpath.m utility script
2012-03-07 00:51:02 +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
1ca9e3fac5
Moved a BLAS function out of f2c_math
2012-03-05 20:47: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
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
000117cad3
Updated .gitignore
2012-03-05 20:46:41 +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
a3b1946871
Generate SConstruct files and Makefiles in the build directory
2012-03-05 20:45:09 +00:00
Ray Speth
3a15fef000
legacy_headers option now installs Cantera.h
2012-03-05 20:45:03 +00:00
Ray Speth
2e695a67de
Exclude certain file patterns from being installed with the samples
2012-03-05 20:44:58 +00:00
Ray Speth
489469b6bf
Added example Makefiles to install with the F77/F90 samples
2012-03-05 20:44:52 +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