How to fill a matrix with a vector parallelly

ming zhu foolishzhu at
Sun Nov 29 19:41:51 CST 2009

HII am trying to solve an eigenvalue problem. A = U * LAMBDA*U'.  While SLEPC proivdes a solver to get an eigenvector and the related eigenvalue, I have to fill the eigenvector to form the eigen matrix. However, there seems no such function to do this directly. I was trying to use VecGetValues and filled the matrix one by one. Howevevr, it can not do that in parallel.
   Is there anyone can help me ?
Thank you  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list