/usr/share/octave/site/m/sundialsTB/idas/IDAAdjInit.m is in octave-sundials 2.5.0-3+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | function status = IDAAdjInit(steps, interp)
%IDAAdjInit allocates and initializes memory for ASA with IDAS.
%
% Usage: IDAAdjInit(STEPS, INTEPR)
%
% STEPS specifies the (maximum) number of integration steps between two
% consecutive check points.
% INTERP Specifies the type of interpolation used for estimating the forward
% solution during the backward integration phase. INTERP should be
% 'Hermite', indicating cubic Hermite interpolation, or 'Polynomial',
% indicating variable order polynomial interpolation.
% Radu Serban <radu@llnl.gov>
% Copyright (c) 2005, The Regents of the University of California.
% $Revision: 1.2 $Date: 2007/12/05 21:58:18 $
mode = 4;
if nargin ~= 2
error('Wrong number of input arguments');
end
status = idm(mode,steps,interp);
|