Hi there

This is a kind of newbie question :)
I have a vector which is the solution of my simulation, I want then to
extract the p indices corresponding to the p biggest values in my vector. Is
there a way to do this with PETSc ?
What if I want to sort my vector to get the indices in ascending order of
their values ?

Thanks
Guillaume
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090616/7fc77f1a/attachment.htm>

Reply via email to