[petsc-users] Sub-indexing or SparseMult?

Hui Zhang mike.hui.zhang at hotmail.com
Mon Sep 26 11:30:52 CDT 2011


Hi all,

I just come into this question: if one wants a sub-vector with contiguous indices
in the whole vector, surely, one can use getsubvec, but also one can setup a
sparse boolean matrix for this aim; so which method is better, considering 
the whole vector is local or parallel?

Thanks very much for any suggestions!

Best wishes,
Hui


More information about the petsc-users mailing list