> For each matrix, after you finish calling MatSetValues() for that matrix you > need to call >MatAssemblyBegin(mat,MAT_FINAL_ASSEMBLY) then > MatAssemblyEnd(mat,MAT_FINAL_ASSEMBLY) See the manual page.
Thank you Bary, And how to set the requested eigenvalue numbers, for example if I prefer only the? 6 lowest or 6 highest eigenvalues to be found? Regards,
