slepc-3.7.4 2017-05-17
Report Typos and Errors

# PEPSetRG

Associates a region object to the polynomial eigensolver.

### Synopsis

    #include "slepcpep.h"
    PetscErrorCode PEPSetRG(PEP pep,RG rg)

Collective on PEP

### Input Parameters

| pep | - eigensolver context obtained from PEPCreate()
| rg | - the region object

### Note

Use PEPGetRG() to retrieve the region context (for example, to free it at the end of the computations).

### See Also

PEPGetRG()

Location: src/pep/interface/pepbasic.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages