PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(SVDConvergenceTestFn)(SVD svd,PetscReal sigma,PetscReal res,PetscReal *errest,void *ctx);
svd | - singular value solver context obtained from SVDCreate() | |
sigma | - computed singular value | |
res | - residual norm associated to the singular triplet | |
errest | - [output] computed error estimate | |
ctx | - [optional] user-defined context for private data for the convergence test routine (may be NULL) |