EPSSortEigenvaluesReal
Sorts a list of eigenvalues according to a certain criterion (version for real eigenvalues only).
Synopsis
#include "slepceps.h"
PetscErrorCode EPSSortEigenvaluesReal(PetscInt n,PetscReal *eig,EPSWhich which,PetscInt nev,PetscInt *permout,PetscReal *work)
Not Collective
Input Parameters
| n | - number of eigenvalue in the list
|
| eig | - pointer to the array containing the eigenvalues (real)
|
| which | - sorting criterion
|
| nev | - number of wanted eigenvalues
|
Output Parameter
permout - resulting permutation
Workspace
work - workspace for storing n real values and n integer values
Notes
The result is a list of indices in the original eigenvalue array
corresponding to the first nev eigenvalues sorted in the specified
criterion
See Also
EPSSortEigenvalues(), EPSSetWhichEigenpairs()
Location: src/eps/interface/solve.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages