further about MatGetSubMatrices()

Matthew Knepley knepley at gmail.com
Tue Dec 23 16:06:11 CST 2008

You can sort them with ISSort.


On Tue, Dec 23, 2008 at 12:35 PM, Yujie <recrusader at gmail.com> wrote:

> Hi, PETSc developer
> I am using MatGetSubMatrices() for my application. Because I need to exact
> several matrices from the old one according to my index sets. These index
> sets are not sorted. To MPIDense matrix, it didn't work. could you give me
> some help? thanks a lot.
> Happy holiday:).
> Regards,
> Yujie

What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20081223/6e57dc69/attachment.htm>

More information about the petsc-users mailing list