slepc-3.17.1 2022-04-11
Report Typos and Errors

NEPSetTarget

Sets the value of the target.

Synopsis

#include "slepcnep.h" 
PetscErrorCode NEPSetTarget(NEP nep,PetscScalar target)
Logically Collective on nep

Input Parameters

nep  - eigensolver context
target  - the value of the target

Options Database Key

-nep_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 NEPSetWhichEigenpairs().

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

See Also

NEPGetTarget(), NEPSetWhichEigenpairs()

Location: src/nep/interface/nepbasic.c

Examples

src/nep/tutorials/ex27.c.html
src/nep/tutorials/ex42.c.html
src/nep/tutorials/ex27f90.F90.html

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