Ray Speth
f959fa67c9
[Samples/Doc] Generate CMakeLists.txt files for C++ and F90 samples
2016-10-28 23:39:33 -04:00
Ray Speth
af076bad0b
[Samples] Replace printf with writelog
2016-10-28 19:05:24 -04:00
Ray Speth
c8d3aa23d2
[Samples] Remove unused function 'writeCanteraHeader'
2016-10-13 18:40:03 -04:00
Ray Speth
ecbfecd7fd
Replace existing copyright notices with uniform copyright/license info
2016-10-10 22:19:01 -04:00
Ray Speth
bc609ce2da
[SCons] Fix Makefiles generated for C++ examples
...
- Use CXXFLAGS to pass flags to C++ compiler (not CCFLAGS)
- Set CXXFLAGS based on flags that Cantera was compiled with (which will include
things like -pthread and -std=c++0x as necessary
- Remove incorrect / unused target for the target binary
- Add the generated binary to things remove by 'make clean'
2016-07-22 13:09:54 -04:00
Ray Speth
2c005759b7
[Thermo] Combine SpeciesThermo and GeneralSpeciesThermo
...
The new class is named MultiSpeciesThermo, so that (eventually) the name
SpeciesThermo can be used for the single-species class SpeciesThermoInterpType.
Currently, trivial wrappers for classes named SpeciesThermo and
GeneralSpeciesThermo to maintain backwards compatibiity for Cantera 2.3.
2016-06-23 17:00:15 -04:00
Ray Speth
c64b714386
[Reactor] Add flow-device-specific methods for setting coefficients
2016-06-23 11:53:20 -04:00
Ray Speth
14b9454819
[C++] Clean up of top-level headers
...
These headers should only include general functionality, i.e. base classes and
factory methods. Users working directly with derived types can include the
relevant headers directly.
Deprecate some top-level headers which are not really useful.
2016-05-14 16:10:10 -04:00
Ray Speth
f2b68d8c34
[Examples] General cleanup of C++ flamespeed example
2016-04-14 15:31:50 -04:00
Ray Speth
b50ef03838
[Examples] Update C++ flamespeed to use current best-practices
...
Wider, uniform initial grid; initial profiles with zero-gradient section
on both ends of the domain; skip initial fixed-temperature solve.
2016-04-14 15:31:49 -04:00
Ray Speth
8b62a59403
[SCons] Generate SConstruct and Makefile for LiC6 electrode example
2016-04-06 22:16:48 -04:00
Ray Speth
0a3927a077
[SCons] SConstruct for C++ demos inherits compiler and options
...
Use the same values for the compiler name and the compiler flags as were used
when compiling Cantera.
2016-04-06 22:07:51 -04:00
Ray Speth
1aa28f9310
Let the constructor for std::string do its job
2016-03-27 22:19:38 -04:00
pwcnorthrop
1183479f88
Add RedlichKister tests and sample case for LiC6 electrode
...
See #293
2016-02-17 23:34:36 -05:00
Ray Speth
f44b5fed57
Replace usage of int2str with cppformat and deprecate int2str
2016-02-04 19:11:49 -05:00
Ray Speth
7562d79bad
Remove unnecessary calls to ostream.close()
2015-11-23 18:06:54 -05:00
Ray Speth
4382ae6c85
Clean up comments in Thermo class source files
2015-11-09 17:34:46 -05:00
Ray Speth
0647823ada
Replace DATA_PTR macro with calls to data()
2015-10-17 18:58:50 -04:00
Ray Speth
a945ef2c23
Make use of initializer lists where appropriate
2015-10-17 18:58:50 -04:00
Ray Speth
f9375e1a09
Use locks/mutexes from the standard library instead of Boost.Thread
...
This eliminates the need to link against any of the compiled Boost libraries,
and means that we can always build in thread-safe mode
2015-10-17 18:58:50 -04:00
Ray Speth
e131766b71
Replace auto_ptr with unique_ptr
...
auto_ptr is deprecated in c++11
2015-10-14 18:45:23 -04:00
Ray Speth
0b2c7b59b8
Replace printf with writelogf in all library code
2015-10-14 18:45:23 -04:00
Ray Speth
71bb73b728
Eliminate unnecessary calles to std::string.c_str()
2015-10-14 18:45:22 -04:00
Ray Speth
bfb20e1f50
Consistently use vector_fp and vector_int typedefs
2015-08-02 23:06:16 -04:00
Ray Speth
acdf9cf0ed
Clean up interstitial whitespace
...
Remove extra space around operators, between words, etc.
2015-08-02 23:06:16 -04:00
Ray Speth
e4c45b6429
General whitespace cleanup
...
Remove unnecessary blank lines and trailing whitespace. Replace tabs with
spaces.
2015-08-02 23:06:15 -04:00
Ray Speth
619cd20f14
Fix badly-formatted else/else if/catch clauses
2015-08-02 23:06:15 -04:00
Ray Speth
6cc5652de6
Remove commented-out code
2015-07-20 17:20:46 -04:00
Ray Speth
571eaeda24
[Samples] Fix compilation errors and warnings in the C++ examples
2015-07-16 12:38:34 -04:00
Ray Speth
d308944509
[Test] Remove unused, platform-specific 'runtest' scripts
2015-07-15 12:17:11 -04:00
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