[Reactor] Change formulation of Reactor to support non-ideal phases

Expanding the time derivative of the total internal energy only works for ideal
phases, so for the more general case it is necessary to keep the internal energy
as the state variable and use an iterative method for setting the state.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2468 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Reactor] Add optimized IdealGasReactor class

This formulation of the reactor governing equations, with temperature as a state
variable, works better for ideal gas mixtures. This way, most of the Jacobian
components are derivatives at constant temperature, eliminating the need to
recompute the temperature-dependent part of the rate expressions when computing
these entries.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2469 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Reactor] Change ConstPressureReactor to support non-ideal phases

Similar to the change for Reactor, using the total enthalpy as the state
variable works for non-ideal phases, although it is less efficient.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2470 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Reactor] Add optimized IdealGasConstPressureReactor class

Like IdealGasReactor, this formulation uses the temperature as a state variable
to improve performance for the common use case of reactors containing ideal gas
mixtures.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2471 02a645c2-efd0-11dd-984d-ab748d24aa7e
Mark function defined in header as 'inline'

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2472 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Doc] Describe reactor governing equations

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2473 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Test] Fix dependencies so Cython tests run after rebuilding

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2474 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Cython/Examples] Update to use IdealGasReactor

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2475 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Matlab/Examples] Make constant pressure reactor example more explicit

Both the reactor and the adjacent reservoir need to have the same pressure. This
example relied on the fact that the default pressure of the 'air' phase is 1
atm, which caused it to break if the user changed the pressure of the reactor
gas.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2476 02a645c2-efd0-11dd-984d-ab748d24aa7e
[Matlab/Examples] Don't call non-existent methods

The current simulation time is a property of the reactor network, not the
individual reactors.

git-svn-id: https://cantera.googlecode.com/svn/cantera/trunk@2477 02a645c2-efd0-11dd-984d-ab748d24aa7e