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