Commit graph

48 commits

Author SHA1 Message Date
Ray Speth
693d5caaf6 Clean up flamespeed demo 2014-12-12 01:36:53 +00:00
Ray Speth
8c7e694dbf Fix compiler warnings in flamespeed demo 2014-12-12 01:36:51 +00:00
Ray Speth
c5ed13be9f Remove resolved todo on flamespeed.cpp
This example now works as a result of the changes to multicomponent transport
evaluation in r3147 and r3148.
2014-12-12 01:36:49 +00:00
Ray Speth
edac95d06d Remove unnecessary manual memory management from examples 2014-12-12 01:36:41 +00:00
Ray Speth
39b751d655 [Equil] Always use the member function versions of 'equilibrate'
The various free functions are deprecated, along with the now unnecessary
headers 'equil.h' and 'equilibrium.h'.
2014-11-08 00:53:45 +00:00
Ray Speth
40290736e0 [Reactor/Samples] Cleanup of kinetics1.cpp
Change this example to use IdealGasConstPressure reactor, which
is the preferred reactor model for this kind of simulation.
2014-06-06 00:17:53 +00:00
Ray Speth
a583949457 [Reactor] ReactorNet::addReactor takes a reference instead of a pointer
This reflects how the function is usually used. The old signature is now
deprecated, as is the extra argument for transfering "ownership" to the
ReactorNet object.
2014-06-06 00:17:41 +00:00
Ray Speth
3944dda878 Fix path to Cantera.mak in sample Fortran Makefiles
Use relative path if the Cantera install directory contains spaces, as the
Makefile 'include' statement doesn't seem to have a way to escape the space
otherwise.
2014-04-28 18:18:10 +00:00
Ray Speth
c7ba8bfb84 Remove abandoned autotools build system 2014-03-04 17:38:53 +00:00
Ray Speth
a33c57d1f1 [1D] Remove unused method 'setAdiabaticFlame' 2014-01-23 04:20:42 +00:00
Ray Speth
d5a9da2b57 [Samples] Improve output of 'combustor' sample C++ program
Switch to integrating using 'advance' instead of step to make output comparable,
independent of small changes in the integrator. Output only selected species and
trim the integration period to reduce the size of the output file (from 3 MB to
25 kB).
2014-01-02 22:23:32 +00:00
Ray Speth
1215f05da7 [Kinetics] Remove deprecated GRI30 class
Resolves Issue 134.
2013-12-14 00:17:54 +00:00
Ray Speth
335e8fcd07 [Samples] Fix missing includes in C++ sample programs 2013-10-07 15:17:28 +00:00
Ray Speth
d253fc0d63 Eliminate redundant standard library includes 2013-06-05 17:08:13 +00:00
Ray Speth
736fccf7ef SCons-generated SConstruct files specify Visual Studio version 2013-06-05 03:08:48 +00:00
Ray Speth
c7ff7dd1cf [SCons] Fixed path to Cantera.mak in sample Makefiles
Fixes Issue 144.
2013-03-04 17:31:11 +00:00
Ray Speth
d3c0411f3e Removed redundant / vestigial code from the Blasius example 2012-12-30 00:16:58 +00:00
Ray Speth
2052ac5b57 Fixed compilation errors in the Blasius boundary layer example 2012-12-30 00:16:53 +00:00
Ray Speth
3cd3bbef8f Removed some unnecessary "using namespace" directives 2012-10-24 15:45:19 +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
d78ec19e4c Fixed issues with library and include paths in sample SConstruct scripts 2012-08-13 20:14:18 +00:00
Ray Speth
c77539e577 Fixed generated SConstruct files to work with MSVC
cherry-pick of r1634 from 2.0 maintenance branch
2012-08-13 20:14:04 +00:00
Ray Speth
9966a24a3f Fixed library specifications in installed SConstruct scripts for samples
cherry-pick of r1632 from 2.0 maintenance branch
2012-08-13 20:13:56 +00:00
Ray Speth
bf727c2631 Removed redundant copies of some input files 2012-08-08 22:18:24 +00:00
Ray Speth
24d7a3e091 Removed some unused exception classes 2012-08-08 22:17:22 +00:00
Ray Speth
88bb6fe679 Removed obsolete C++ Chemkin mechanism converter 2012-07-26 20:49:50 +00:00
Ray Speth
cfe5824a7d Removed some deprecated code 2012-07-16 22:18:35 +00:00
Ray Speth
dcb7f37a3c Modify return value handling for some examples and tests 2012-05-24 16:29:59 +00:00
Ray Speth
d16f70ab44 Fixed some spelling issues 2012-04-04 18:44:24 +00:00
Ray Speth
b3ae0c9208 Use quotes instead of angle brackets for non-system header #includes 2012-03-15 19:52:16 +00:00
Ray Speth
ca4212cc57 Removed a number of unused / redundant typedefs 2012-03-15 19:51:57 +00:00
Ray Speth
3be53356a2 Updated sample build scripts to include pthread where necessary 2012-03-09 22:59:50 +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
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
c3398e7a3e Added example SConstruct files to install with F77/F90 sample programs 2012-03-01 16:56:29 +00:00
Ray Speth
6924e9f69f Added example SConstruct files to install with C++ sample programs 2012-03-01 00:45:03 +00:00
Ray Speth
45fe098d51 Added example Makefiles to install with C++ sample programs 2012-03-01 00:44:56 +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
fe8a5d49a8 Use std::min and std::max instead of homegrown alternatives 2012-02-21 16:03:32 +00:00
Ray Speth
4f600c048e Fixed compilation of the C++ and Fortran sample programs 2012-02-15 18:06:55 +00:00
Ray Speth
46c4baeb8c Updated the C++ samples so that they compile and (mostly) run 2012-02-15 01:01:30 +00:00
Ray Speth
855f2ec77b Eliminated the unnecessary Cantera.h header from sample code 2012-02-15 01:01:15 +00:00
Ray Speth
8239c18091 Fixed some installation issues with samples and the Python module 2012-02-13 17:24:09 +00:00
Ray Speth
1bffc6e150 Fix include paths for tests and samples 2012-02-12 02:47:21 +00:00
Ray Speth
eb2cab5f2b Updates to SCons scripts to support the new directory structure 2012-02-12 02:46:40 +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