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
