For reactions with unity reactant stoichiometric coefficients, explicit values
for the forward reaction order were being ignored while setting up the
StoichManager.
Added a few tests that confirm that these rates are being calculated correctly.
Units specified on the REACTIONS line were not being handled correctly,
causing the units(...) directive of the resulting .cti file to always have
the default units of 'cal/mol' and 'mol', but without correcting the values.
For some properties, the internal temperature-dependent properties
were being updated in the wrong order.
cherry-pick of r1636 from 2.0 maintenance branch
This has the extra benefit of allowing removal of some f2c-converted code
that was being kept in an inconsistent location (outside the 'ext' directory)
and caused linking issues with some combination of build options.
The exception message now lists the solution components and the corresponding
weighted error estimate which should indicate which variables are responsible
for the integration failure.
Include directories in the Cantera source tree should be listed first so that
they take precedence over headers from other installed copies of Cantera that
might end up on the include search path. This was potentially a problem when
Cantera was installed in the same location (e.g. /usr/local) as one of its
dependencies (e.g. Sundials).
The same logic applies to directories on the library link path.
TPX_Error is now derived from CanteraError, and errors in the tpx calculations
propagate automatically without requiring explicit checks for an error
condition.
The reportCSV method is responsible for formatting and writing the data provided
by the getCsvReportData method. Derived classes need only override the latter
method to customize their reports.
Also, the data which was not in a CSV format has been removed from the output so
the name of the method is no longer misleading.