EPSGetOperationCounters

Gets the total number of operator applications, inner product operations and linear iterations used by the ST object during the last EPSSolve() call.

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSGetOperationCounters(EPS eps,PetscInt* ops,PetscInt* dots,PetscInt* lits)
Not Collective

Input Parameter

eps - EPS context

Output Parameter

ops - number of operator applications
dots - number of inner product operations
lits - number of linear iterations

Notes

When the eigensolver algorithm invokes STApply() then a linear system must be solved (except in the case of standard eigenproblems and shift transformation). The number of iterations required in this solve is accumulated into a counter whose value is returned by this function.

These counters are reset to zero at each successive call to EPSSolve().

Location: src/eps/interface/solve.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/eps/examples/tutorials/ex7.c.html