slepc-3.7.3 2016-09-29
Report Typos and Errors

# EPSKrylovSchurSetDetectZeros

Sets a flag to enforce detection of zeros during the factorizations throughout the spectrum slicing computation.

### Synopsis

    #include "slepceps.h"
    PetscErrorCode EPSKrylovSchurSetDetectZeros(EPS eps,PetscBool detect)

Logically Collective on EPS

### Input Parameters

| eps | - the eigenproblem solver context
| detect | - check for zeros

### Options Database Key

| -eps_krylovschur_detect_zeros | - Check for zeros; this takes an optional bool value (0/1/no/yes/true/false)

### Notes

A zero in the factorization indicates that a shift coincides with an eigenvalue.

This flag is turned off by default, and may be necessary in some cases, especially when several partitions are being used. This feature currently requires an external package for factorizations with support for zero detection, e.g. MUMPS.

### See Also

EPSKrylovSchurSetPartitions(), EPSSetInterval()

Location: src/eps/impls/krylov/krylovschur/krylovschur.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/eps/examples/tutorials/ex25.c.html