struct _n_SVDStoppingCtx { PetscReal firstsv; /* the value of the first converged singular value */ PetscReal lastsv; /* the value of the last converged singular value */ PetscReal thres; /* threshold set with SVDSetThreshold() */ PetscBool threlative; /* threshold is relative */ SVDWhich which; /* which singular values are being computed */ };