slepc-main 2024-11-15
Report Typos and Errors

SlepcArbitrarySelectionFn

A prototype of an arbitrary selection function that would be passed to EPSSetArbitrarySelection() and analogue functions in other solver types

Synopsis

PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(SlepcArbitrarySelectionFn)(PetscScalar er,PetscScalar ei,Vec xr,Vec xi,PetscScalar *rr,PetscScalar *ri,void *ctx);

Calling Sequence

er  - real part of the current eigenvalue approximation
ei  - imaginary part of the current eigenvalue approximation
xr  - real part of the current eigenvector approximation
xi  - imaginary part of the current eigenvector approximation
rr  - result of evaluation (real part)
ri  - result of evaluation (imaginary part)
ctx  - [optional] user-defined context for private data for the arbitrary selection routine (may be NULL)

See Also

EPSSetArbitrarySelection()

Level

advanced

Location

include/slepcsc.h

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