PEPSetRG — SLEPc 3.25.1 documentation

Skip to main content
`Ctrl`+`K`

# PEPSetRG

Associates a region object to the polynomial eigensolver.

## Synopsis

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

Collective

## Input Parameters

- pep - the polynomial eigensolver context

- 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

PEP: Polynomial Eigenvalue Problems, `PEPGetRG()`

## Level

advanced

## Location

src/pep/interface/pepbasic.c

Index of all PEP routines Table of Contents for all manual pages Index of all manual pages