[petsc-users] SLEPc function SlepcSortEigenvalues

Jose E. Roman jroman at dsic.upv.es
Tue Apr 7 14:42:30 CDT 2015


El 07/04/2015, a las 21:29, Daniel A Lemus escribió:

> Hi,
> 
> I'm using SLEPc version 3.5.3 and it seems that EPSSortEigenvalues was replaced with SlepcSortEigenvalues in a recent release.
> 
> I can find very little documentation on this SlepcSortEigenvalues function and the SlepcSC argument it takes. There is also no mention of these changes in the SLEPc changes list.
> 
> Are there any examples on how to use this function and how to set the SlepcSC sorting criterion?
> 
> Thanks,
> Daniel

This function is intended for internal use only, not for application code, that is why it is not well documented. Here is the manpage:
http://slepc.upv.es/documentation/current/docs/manualpages/sys/SlepcSortEigenvalues.html

The 'sorting criterion' argument SlepcSC is used in some of the test examples of the DS auxiliary class, e.g.
http://slepc.upv.es/documentation/current/src/sys/classes/ds/examples/tests/test1.c.html

Basically it is a struct containing a sorting function and a mapping function, possibly with data contexts.

This functionality is not available from Fortran.

Jose



More information about the petsc-users mailing list