/usr/share/octave/site/m/sundialsTB/cvodes/CVodeSensReInit.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 29 30 31 32 | function status = CVodeSensReInit(yS0, options)
%CVodeSensReInit reinitializes CVODES's FSA-related memory
% assuming it has already been allocated in prior calls to CVodeInit
% and CVodeSensInit.
% The number of sensitivities Ns is assumed to be unchanged since the
% previous call to CVodeSensInit.
%
% Usage: CVodeSensReInit ( YS0 [, OPTIONS ] )
%
% YS0 Initial conditions for sensitivity variables.
% YS0 must be a matrix with N rows and Ns columns, where N is the problem
% dimension and Ns the number of sensitivity systems.
% OPTIONS is an (optional) set of FSA options, created with
% the CVodeSensSetOptions function.
%
% See also: CVodeSensSetOptions, CVodeReInit, CVodeSensInit
% Radu Serban <radu@llnl.gov>
% Copyright (c) 2007, The Regents of the University of California.
% $Revision: 1.4 $Date: 2007/12/05 21:58:18 $
mode = 13;
if nargin < 1
error('Too few input arguments');
end
if nargin < 2
options = [];
end
status = cvm(mode, yS0, options);
|