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
ac771aaac5
[Doc] Adjust example docstrings to get better automatic summaries
2016-10-14 17:20:18 -04:00
Ray Speth
994d7e9a53
[Doc] Adjust example docstrings to get better automatic summaries
2016-10-14 17:06:45 -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
3261b4108a
[SCons] Link Fortran sample programs to the correct standard library
2016-07-20 18:43:41 -04:00
Ray Speth
a7aec575a9
[Matlab] Make ReactorSurface available in Matlab
2016-06-28 14:37:59 -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
Bryan W. Weber
0b5a46fe03
Remove execute bit from files that don't need it
2015-08-02 23:06:16 -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
ecb6242b79
Fix spelling errors
2015-04-08 19:36:55 -04:00
Ray Speth
4890cccb03
[Doc] Update phase report examples to show compact species output
2015-03-10 22:41:23 +00:00
Ray Speth
217a001a08
[Doc] Correct title of "Chemically Reacting Flow"
2015-01-15 21:15:12 +00: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
044235c065
[SCons] Remove unnecessary uses of pjoin
2014-10-08 16:54:49 +00:00
Bryan W. Weber
a067fcbc37
[Samples/Matlab] Fix bugs in conhp and conuv Matlab samples
2014-07-18 14:35:22 +00:00
Ray Speth
dd297256ff
[Matlab/Samples] Update to use IdealGasReactor
2014-06-16 22:01:31 +00:00
Ray Speth
049c9a1960
[Matlab/Samples] Fix broken default argument checks
...
There are no classes named 'GasMix' or (lowercase) 'solution', so these checks
would always fail and the input argument would always be silently ignored.
2014-06-16 22:01:13 +00:00
Ray Speth
6c3fdb7963
[Matlab/Samples] Remove duplicate examples
...
'ignite2.m' was essentially a duplicate of 'ignite.m'
'ignite3.m' was essentially a duplicate of 'ignite_uv.m'
2014-06-16 22:00:46 +00:00
Ray Speth
fd0db67172
[Matlab/Samples] Move reactor ODE functions into samples directory
...
These functions are used by some of the examples, and show how custom
reactor-like models can be implemented in Matlab. They are useful mostly as a
basis for user modifications.
2014-06-16 22:00:41 +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