[petsc-users] How to get the eigenvectors in Slepc

Jose E. Roman jroman at dsic.upv.es
Sun Apr 14 11:02:38 CDT 2013


El 14/04/2013, a las 17:53, Sonya Blade escribió:

> Thanks in advance,
> 
> I'm already reading those manuals Petsc,Slepc, online Petsc/Slepc documents are always open in my browser.
> But it seems it really take times to get used to it, which I think that this is what I'm suffering for the time being.
> 
> Can you confirm that having all the eigenvalues as real and corresponding eigenvectors as zero and having 
> imaginary parts is something weird. At least to confirm that I'm on a right path and this should be the point 
> that I've to focus.
> 
> Regards, 

Let me put it more clearly: you are not getting eigenvector entries, your printing statement is nonsense (you print a pointer as a floating point number), so you cannot say the imaginary part is nonzero. It is indeed zero, SLEPc gives the right solution, your program is wrong.

Jose



More information about the petsc-users mailing list