slepc-3.14.2 2021-02-01
Report Typos and Errors

# NEPSetFromOptions

Sets NEP options from the options database. This routine must be called before NEPSetUp() if the user is to be allowed to set the solver type.

### Synopsis

    #include "slepcnep.h"
    PetscErrorCode NEPSetFromOptions(NEP nep)

Collective on nep

### Input Parameters

| nep | - the nonlinear eigensolver context

### Notes

To see all options, run your program with the -help option.

Location: src/nep/interface/nepopts.c

### Examples

src/nep/tutorials/ex20.c.html
src/nep/tutorials/ex21.c.html
src/nep/tutorials/ex22.c.html
src/nep/tutorials/ex27.c.html
src/nep/tutorials/ex42.c.html
src/nep/tutorials/ex20f90.F90.html
src/nep/tutorials/ex22f90.F90.html
src/nep/tutorials/ex27f90.F90.html
src/nep/tutorials/nlevp/loaded_string.c.html
src/nep/tutorials/nlevp/gun.c.html
Index of all NEP routines
Table of Contents for all manual pages
Index of all manual pages