slepc-3.7.3 2016-09-29
Report Typos and Errors

# NEPSetRG

Associates a region object to the nonlinear eigensolver.

### Synopsis

    #include "slepcnep.h"
    PetscErrorCode NEPSetRG(NEP nep,RG rg)

Collective on NEP

### Input Parameters

| nep | - eigensolver context obtained from NEPCreate()
| rg | - the region object

### Note

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

### See Also

NEPGetRG()

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