/usr/share/octave/site/m/sundialsTB/idas/IDAQuadReInit.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 24 25 26 27 28 | function status = IDAQuadReInit(yQ0, options)
%IDAQuadReInit reinitializes IDAS's quadrature-related memory
% assuming it has already been allocated in prior calls to IDAInit
% and IDAQuadInit.
%
% Usage: IDAQuadReInit ( YQ0 [, OPTIONS ] )
%
% YQ0 Initial conditions for quadrature variables yQ(t0).
% OPTIONS is an (optional) set of QUAD options, created with
% the IDASetQuadOptions function.
%
% See also: IDASetQuadOptions, IDAQuadInit
% Radu Serban <radu@llnl.gov>
% Copyright (c) 2007, The Regents of the University of California.
% $Revision: 1.2 $Date: 2007/12/05 21:58:18 $
mode = 12;
if nargin < 1
error('Too few input arguments');
end
if nargin < 2
options = [];
end
status = idm(mode, yQ0, options);
|