slepc-main 2024-11-09
PEPSetTarget
Sets the value of the target.
Synopsis
#include "slepcpep.h"
PetscErrorCode PEPSetTarget(PEP pep,PetscScalar target)
Logically Collective
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()
Level
intermediate
Location
src/pep/interface/pepbasic.c
Examples
src/pep/tutorials/ex40.c
src/pep/tutorials/ex50.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages