[petsc-users] eigensolution error with slepc

Jose E. Roman jroman at dsic.upv.es
Mon Apr 4 11:54:28 CDT 2016


> El 4 abr 2016, a las 18:43, Manav Bhatia <bhatiamanav at gmail.com> escribió:
> 
> Thanks! 
> I upgraded to 3.6.3 and ran the code, and it went through all the load steps without problem. 
> 
> A followup question: 
> 
> It seems like the eigenvalues are sorted based on abs(lambda). If I am interested in only the lowest N eigenvalues greater than 0, is there a way to tell slepc to ignore all eigenvalues less than 0?  
> 
> Thanks,
> Manav

You can try a user-defined sorting criterion as in this example:
http://slepc.upv.es/documentation/current/src/eps/examples/tutorials/ex18.c.html



More information about the petsc-users mailing list