LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
lsoda_fast_stiff.m
1function [T, Y] = lsoda_fast_stiff(odefun, tspan, y0, options)
2% LSODA_FAST_STIFF Fast LSODA variant optimized for stiff problems
3%
4% Equivalent to JAR's fastStiffODESolver: LSODA(minstep, maxstep, tol,
5% tol, 3, 3). Limited order for both Adams (3) and BDF (3) for speed.
6%
7% See also: lsoda_solve, lsoda_accurate_stiff, lsoda_fast
8
9 if nargin < 4, options = struct(); end
10 if ~isfield(options, 'MaxOrdNonStiff'), options.MaxOrdNonStiff = 3; end
11 if ~isfield(options, 'MaxOrdStiff'), options.MaxOrdStiff = 3; end
12 [T, Y] = lsoda_solve(odefun, tspan, y0, options);
13end