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.
12 lines
587 B
Matlab
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)
|