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. |
||
|---|---|---|
| .. | ||
| ctlib.f | ||
| demo.f | ||
| demo_ftnlib.cpp | ||
| isentropic.f | ||
| Makefile.in | ||
| output_0_blessed.txt | ||
| output_1_blessed.txt | ||
| README.txt | ||
| README_unix.txt | ||
| runtest | ||
| SConscript | ||
| SConstruct.in | ||
This directory contains examples of Fortran 77 programs that use
Cantera. The programs are:
ctlib An example showing how to write subroutines that emulate those
of the Chemkin CKLIB library.
isentropic Mach number vs. area ratio for isentropic flow.
Both of these use the "demo_f77" library that demonstrates one simple
scheme to handle interfacing Fortran 77 and C++. Additional functions
can be added to this library as needed.