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)