Commit graph

16 commits

Author SHA1 Message Date
Ingmar Schoegl
91c7bf14d7 [Base] finalize introduction of Solution object in C++ layer 2019-11-08 15:12:36 -05:00
Ingmar Schoegl
2a9554c134 [Base] consolidate shared_ptr access in Solution 2019-11-08 15:12:36 -05:00
Ingmar Schoegl
9f6cba3c33 [samples] replace convenience wrapper classes by C++ Solution 2019-11-08 15:12:36 -05:00
Ray Speth
af076bad0b [Samples] Replace printf with writelog 2016-10-28 19:05:24 -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
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
571eaeda24 [Samples] Fix compilation errors and warnings in the C++ examples 2015-07-16 12:38:34 -04: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
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
Renamed from tools/templates/cxx/demo.cpp (Browse further)