[petsc-users] EPSGetEigenpair Problem

Eda Oktay eda.oktay at metu.edu.tr
Thu Mar 7 05:45:13 CST 2019


Hello,

I have a code finding Laplacian of a matrix and then I need to find this
Laplacian's second smallest eigenpair. I used EPSGetEigenpair code but I
get the values like "0." or "4." (I could not get decimals) when I used
PetscPrintf(PETSC_COMM_WORLD," The second smallest eigenvalue: %g\n",kr)
line.

What could be the problem?

Best regards,

Eda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190307/784ca9c3/attachment.html>


More information about the petsc-users mailing list