/usr/share/octave/site/m/sundialsTB/idas/IDAQuadSetOptions.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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | function options = IDAQuadSetOptions(varargin)
%IDAQuadSetOptions creates an options structure for IDAS.
%
% Usage: OPTIONS = IDAQuadSetOptions('NAME1',VALUE1,'NAME2',VALUE2,...)
% OPTIONS = IDAQuadSetOptions(OLDOPTIONS,'NAME1',VALUE1,...)
%
% OPTIONS = IDAQuadSetOptions('NAME1',VALUE1,'NAME2',VALUE2,...) creates
% an IDAS options structure OPTIONS in which the named properties have
% the specified values. Any unspecified properties have default values.
% It is sufficient to type only the leading characters that uniquely
% identify the property. Case is ignored for property names.
%
% OPTIONS = IDAQuadSetOptions(OLDOPTIONS,'NAME1',VALUE1,...) alters an
% existing options structure OLDOPTIONS.
%
% IDAQuadSetOptions with no input arguments displays all property names
% and their possible values.
%
%IDAQuadSetOptions properties
%(See also the IDAS User Guide)
%
%ErrControl - Error control strategy for quadrature variables [ on | {off} ]
% Specifies whether quadrature variables are included in the error test.
%RelTol - Relative tolerance for quadrature variables [ scalar {1e-4} ]
% Specifies the relative tolerance for quadrature variables. This parameter is
% used only if QuadErrCon=on.
%AbsTol - Absolute tolerance for quadrature variables [ scalar or vector {1e-6} ]
% Specifies the absolute tolerance for quadrature variables. This parameter is
% used only if QuadErrCon=on.
%
%SensDependent - Backward problem depending on sensitivities [ {false} | true ]
% Specifies whether the backward problem quadrature right-hand side depends
% on forward sensitivites. If TRUE, the right-hand side function provided for
% this backward problem must have the appropriate type (see IDAQuadRhsFnB).
%
% See also
% IDAQuadInit, IDAQuadReInit.
% IDAQuadInitB, IDAQuadReInitB
% Radu Serban <radu@llnl.gov>
% Copyright (c) 2005, The Regents of the University of California.
% $Revision: 1.1 $Date: 2007/08/21 17:38:42 $
% If called without input and output arguments, print out the possible keywords
if (nargin == 0) && (nargout == 0)
fprintf(' ErrControl: [ {false} | true ]\n');
fprintf(' RelTol: [ positive scalar {1e-4} ]\n');
fprintf(' AbsTol: [ positive scalar or vector {1e-6} ]\n');
fprintf('\n');
fprintf(' SensDependent: [ {false} | true ]\n');
fprintf('\n');
return;
end
KeyNames = {
'ErrControl'
'RelTol'
'AbsTol'
'SensDependent'
};
options = idm_options(KeyNames,varargin{:});
|