# QEPSetFromOptions

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

### Synopsis

    #include "slepcqep.h"
    PetscErrorCode QEPSetFromOptions(QEP qep)

Collective on QEP

### Input Parameters

qep - the quadratic eigensolver context

### Notes

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

Location: src/qep/interface/qepopts.c
Index of all QEP routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/qep/examples/tutorials/ex16.c.html
src/qep/examples/tutorials/ex17.c.html
src/qep/examples/tutorials/ex16f90.F90.html