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

# PEPSetTarget

Sets the value of the target.

### Synopsis

    #include "slepcpep.h"
    PetscErrorCode PEPSetTarget(PEP pep,PetscScalar target)

Logically Collective on PEP

### Input Parameters

| pep | - eigensolver context
| target | - the value of the target

### Options Database Key

| -pep_target <scalar> | - the value of the target

### Notes

The target is a scalar value used to determine the portion of the spectrum of interest. It is used in combination with PEPSetWhichEigenpairs().

In the case of complex scalars, a complex value can be provided in the command line with [+/-][realnumber][+/-]realnumberi with no spaces, e.g. -pep_target 1.0+2.0i

### See Also

PEPGetTarget(), PEPSetWhichEigenpairs()

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