/usr/share/octave/site/m/sundialsTB/idas/IDAGetStats.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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | function [si, status] = IDAGetStats()
%IDAGetStats returns run statistics for the IDAS solver.
%
% Usage: STATS = IDAGetStats
%
%Fields in the structure STATS
%
%o nst - number of integration steps
%o nre - number of residual function evaluations
%o nsetups - number of linear solver setup calls
%o netf - number of error test failures
%o nni - number of nonlinear solver iterations
%o ncfn - number of convergence test failures
%o qlast - last method order used
%o qcur - current method order
%o h0used - actual initial step size used
%o hlast - last step size used
%o hcur - current step size
%o tcur - current time reached by the integrator
%o RootInfo - strucutre with rootfinding information
%o QuadInfo - structure with quadrature integration statistics
%o LSInfo - structure with linear solver statistics
%o FSAInfo - structure with forward sensitivity solver statistics
%
%If rootfinding was requested, the structure RootInfo has the following fields
%
%o nge - number of calls to the rootfinding function
%o roots - array of integers (a value of 1 in the i-th component means that the
% i-th rootfinding function has a root (upon a return with status=2 from
% IDASolve).
%
%If quadratures were present, the structure QuadInfo has the following fields
%
%o nfQe - number of quadrature integrand function evaluations
%o netfQ - number of error test failures for quadrature variables
%
%The structure LSinfo has different fields, depending on the linear solver used.
%
% Fields in LSinfo for the 'Dense' linear solver
%
%o name - 'Dense'
%o njeD - number of Jacobian evaluations
%o nreD - number of residual function evaluations for difference-quotient
% Jacobian approximation
%
% Fields in LSinfo for the 'Band' linear solver
%
%o name - 'Band'
%o njeB - number of Jacobian evaluations
%o nreB - number of residual function evaluations for difference-quotient
% Jacobian approximation
%
% Fields in LSinfo for the 'GMRES' and 'BiCGStab' linear solvers
%
%o name - 'GMRES' or 'BiCGStab'
%o nli - number of linear solver iterations
%o npe - number of preconditioner setups
%o nps - number of preconditioner solve function calls
%o ncfl - number of linear system convergence test failures
%o njeSG - number of Jacobian-vector product evaluations
%o nreSG - number of residual function evaluations for difference-quotient
% Jacobian-vector product approximation
%
%If forward sensitivities were computed, the structure FSAInfo has the
%following fields
%
%o nrSe - number of sensitivity residual evaluations
%o nreS - number of residual evaluations for difference-quotient
% sensitivity residual approximation
%o nsetupsS - number of linear solver setups triggered by sensitivity variables
%o netfS - number of error test failures for sensitivity variables
%o nniS - number of nonlinear solver iterations for sensitivity variables
%o ncfnS - number of convergence test failures due to sensitivity variables
% Radu Serban <radu@llnl.gov>
% Copyright (c) 2005, The Regents of the University of California.
% $Revision: 1.3 $Date: 2007/12/05 21:58:18 $
mode = 30;
[si, status] = idm(mode);
|