#include "slepcsvd.h" PetscErrorCode SVDStoppingBasic(SVD svd,PetscInt its,PetscInt max_it,PetscInt nconv,PetscInt nsv,SVDConvergedReason *reason,void *ctx)Collective
svd | - singular value solver context obtained from SVDCreate() | |
its | - current number of iterations | |
max_it | - maximum number of iterations | |
nconv | - number of currently converged singular triplets | |
nsv | - number of requested singular triplets | |
ctx | - context (not used here) |
reason | - result of the stopping test |
SVDStoppingBasic() will stop if all requested singular values are converged, or if the maximum number of iterations has been reached.
Use SVDSetStoppingTest() to provide your own test instead of using this one.