slepc-3.22.2 2024-12-02
Report Typos and Errors

EPSSetTarget

Sets the value of the target.

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSSetTarget(EPS eps,PetscScalar target)
Logically Collective

Input Parameters

eps  - eigensolver context
target  - the value of the target

Options Database Key

-eps_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 EPSSetWhichEigenpairs().

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

See Also

EPSGetTarget(), EPSSetWhichEigenpairs()

Level

intermediate

Location

src/eps/interface/epsbasic.c

Examples

src/eps/tutorials/ex30.c
src/eps/tutorials/ex35.c
src/eps/tutorials/ex43.c
src/eps/tutorials/ex46.c
src/eps/tutorials/ex49.c


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