[petsc-users] EVP Solutions with Subspace

Sonya Blade sonyablade2010 at hotmail.com
Fri Apr 5 08:36:00 CDT 2013


> 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, 		 	   		  


More information about the petsc-users mailing list