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
537 B
Matlab
12 lines
537 B
Matlab
function setMaxTimeStep(r, maxstep)
|
|
% SETMAXTIMESTEP - Set the maximum time step.
|
|
%
|
|
% The integrator chooses a step size based on the desired error
|
|
% tolerances and the rate at which the solution is changing. In
|
|
% some cases, the solution changes very slowly at first, then very
|
|
% rapidly (ignition problems). In such cases, the integrator may
|
|
% choose a timestep that is too large, which leads to numerical
|
|
% problems later. Use this method to set an upper bound on the
|
|
% timestep.
|
|
%
|
|
reactornetmethods(6, reactornet_hndl(r), maxstep);
|