slepc-3.19.2 2023-09-05
Report Typos and Errors

# NEPNLEIGSGetKSPs

Retrieve the array of linear solver objects associated with the nonlinear eigenvalue solver.

### Synopsis

    #include "slepcnep.h"
    PetscErrorCode NEPNLEIGSGetKSPs(NEP nep,PetscInt *nsolve,KSP **ksp)

Collective

### Input Parameter

| nep | - nonlinear eigenvalue solver

### Output Parameters

| nsolve | - number of returned KSP objects
| ksp | - array of linear solver object

### Notes

The number of KSP objects is equal to the number of shifts provided by the user, or 1 if the user did not provide shifts.

### See Also

NEPNLEIGSSetRKShifts()

### Level

advanced

### Location

src/nep/impls/nleigs/nleigs.c
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages