slepc-3.17.2 2022-08-09
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