cantera/interfaces/matlab/toolbox/@ReactorNet/advance.m
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

22 lines
747 B
Matlab

function advance(n, tout)
% ADVANCE - Advance the state of the reactor network in time.
%
% Method advance integrates the system of ordinary differential
% equations that determine the rate of change of the volume, the
% mass of each species, and the total energy for each reactor. The
% integration is carried out from the current time to time
% 'tout.' (Note 'tout' is an absolute time, not a time interval.)
% The integrator may take many internal time steps before reaching
% tout.
%
% for i in 1:10
% tout = 0.1*i
% advance(n, tout)
% ...
% <add output commands here>
% ...
% end
%
% See also: ReactorNet/step
%
reactornetmethods(8, reactornet_hndl(n), tout);