EPSSetEigenvalueComparison#
Specifies the eigenvalue comparison function when EPSSetWhichEigenpairs() is set to EPS_WHICH_USER.
Synopsis#
#include "slepceps.h"
PetscErrorCode EPSSetEigenvalueComparison(EPS eps,SlepcEigenvalueComparisonFn *func,void *ctx)
Logically Collective
Input Parameters#
eps - the linear eigensolver context
func - the comparison function, see
SlepcEigenvalueComparisonFnfor the calling sequencectx - a context pointer (the last parameter to the comparison function)
See Also#
EPS: Eigenvalue Problem Solver, EPSSetWhichEigenpairs(), EPSWhich
Level#
advanced
Location#
Examples#
src/eps/tutorials/ex57.c
src/eps/tutorials/ex18.c
Index of all EPS routines Table of Contents for all manual pages Index of all manual pages