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

# NEPGetKSP

Obtain the linear solver (KSP) object associated to the eigensolver object.

### Synopsis

    #include "slepcnep.h"
    PetscErrorCode NEPGetKSP(NEP nep,KSP *ksp)

Not Collective

### Input Parameters

nep - eigensolver context obtained from NEPCreate()

### Output Parameter

ksp - linear solver context

### See Also

NEPSetKSP()

Location: src/nep/interface/nepbasic.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/nep/examples/tutorials/ex21.c.html