#include "slepcpep.h" PetscErrorCode PEPSTOARSetCheckEigenvalueType(PEP pep,PetscBool checket)Logically Collective
pep | - the eigenproblem solver context | |
checket | - check eigenvalue type |
-pep_stoar_check_eigenvalue_type | - Check eigenvalue type; this takes an optional bool value (0/1/no/yes/true/false) |
This flag is turned on by default, to guarantee that the computed eigenvalues have the same type (otherwise the computed solution might be wrong). But since the check is computationally quite expensive, the check may be turned off if the user knows for sure that all eigenvalues in the requested interval have the same type.