Ray Speth
1ec9ce2c01
[1D/samples] Fix C++ flame speed example
...
Fixes a regression introduced in 6f45b241 .
2019-02-04 16:38:40 -05: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
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
e131766b71
Replace auto_ptr with unique_ptr
...
auto_ptr is deprecated in c++11
2015-10-14 18:45:23 -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
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
a33c57d1f1
[1D] Remove unused method 'setAdiabaticFlame'
2014-01-23 04:20:42 +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
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
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
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