[petsc-users] EVP Solutions with Subspace

Jose E. Roman jroman at dsic.upv.es
Fri Apr 5 10:11:13 CDT 2013


El 05/04/2013, a las 15:36, Sonya Blade escribió:

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

http://www.grycap.upv.es/slepc/documentation/current/docs/manualpages/EPS/EPSSetDimensions.html
http://www.grycap.upv.es/slepc/documentation/current/docs/manualpages/EPS/EPSSetWhichEigenpairs.html

For these simple questions it is faster to look for the answer in the manual.

Jose



More information about the petsc-users mailing list