#include "slepcpep.h" PetscErrorCode PEPSetRefine(PEP pep,PEPRefine refine,PetscInt npart,PetscReal tol,PetscInt its,PetscBool schur)Logically Collective on PEP
pep | - the polynomial eigensolver context | |
refine | - refinement type | |
npart | - number of partitions of the communicator | |
tol | - the convergence tolerance | |
its | - maximum number of refinement iterations | |
schur | - boolean flag to activate the Schur complement approach |
-pep_refine <type> | - refinement type, one of <none,simple,multiple> | |
-pep_refine_partitions <n> | - the number of partitions | |
-pep_refine_tol <tol> | - the tolerance | |
-pep_refine_its <its> | - number of iterations | |
-pep_refine_schur | - to set the Schur complement approach |
In some cases, especially when using direct solvers within the iterative refinement method, it may be helpful for improved scalability to split the communicator in several partitions. The npart parameter indicates how many partitions to use (defaults to 1).
The tol and its parameters specify the stopping criterion. In the simple method, refinement continues until the residual of each eigenpair is below the tolerance (tol defaults to the PEP tol, but may be set to a different value). In contrast, the multiple method simply performs its refinement iterations (just one by default).
The schur flag is used to change the way in which linear systems are solved, so that a Schur complement approach is used instead of explicitly building the coefficient matrix.
Location: src/pep/interface/pepopts.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages