slepc-3.17.2 2022-08-09
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)

Not 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()

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