PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(SlepcEigenvalueComparisonFn)(PetscScalar ar,PetscScalar ai,PetscScalar br,PetscScalar bi,PetscInt *res,void *ctx);
ar | - real part of the 1st eigenvalue | |
ai | - imaginary part of the 1st eigenvalue | |
br | - real part of the 2nd eigenvalue | |
bi | - imaginary part of the 2nd eigenvalue | |
res | - [output] result of comparison | |
ctx | - [optional] user-defined context for private data for the eigenvalue comparison routine (may be NULL) |