slepc-3.6.1 2015-09-03
Report Typos and Errors

# EPSKrylovSchurGetInertias

Gets the values of the shifts and their corresponding inertias in case of doing spectrum slicing for a computational interval.

### Synopsis

    #include "slepceps.h"
    PetscErrorCode EPSKrylovSchurGetInertias(EPS eps,PetscInt *n,PetscReal **shifts,PetscInt **inertias)

Not Collective

### Input Parameter

eps - the eigenproblem solver context

### Output Parameters

| n | - number of shifts, including the endpoints of the interval
| shifts | - the values of the shifts used internally in the solver
| inertias | - the values of the inertia in each shift

### Notes

If called after EPSSolve(), all shifts used internally by the solver are returned (including both endpoints and any intermediate ones). If called before EPSSolve() and after EPSSetUp() then only the information of the endpoints of subintervals is available.

This function is only available for spectrum slicing runs.

The returned arrays should be freed by the user.

### See Also

EPSSetInterval(), EPSKrylovSchurSetSubintervals()

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/ex12.c.html
src/eps/examples/tutorials/ex25.c.html