cantera/interfaces/matlab/toolbox/1D/@Stack/setTimeStep.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

12 lines
587 B
Matlab

function setTimeStep(s, stepsize, steps)
% SETTIMESTEP - Specify a sequence of time steps.
%
% stepsize - initial step size (s)
% steps - array of number of steps to take before
% re-attempting solution of steady-state problem. For
% example, steps = [1, 2, 5, 10] would cause one time
% step to be taken first the the steady-state
% solution attempted. If this failed, two time steps
% would be taken, etc.
stack_methods(s.stack_id, 112, stepsize, length(steps), steps)