about MatGetOwnershipRange

Yujie recrusader at gmail.com
Thu Jan 1 18:45:01 CST 2009


I got a submatrix B from A in parallel mode. Because the rows numbers of B
in some processors of the cluster become 0, I want to use
MatGetOwnershipRange() to get the range in each processor. I have checked
this function, the description is as folllows:
"
MatGetOwnershipRange
Returns the range of matrix rows owned by this processor, assuming that the
matrix is laid out with the first n1 rows on the first processor, the next
n2 rows on the second, etc. For certain parallel layouts this range may not
be well defined.
"
There is an assumption in this function, I am wondering whether I can use
this function here. if not, how to do it? thanks a lot.

Yujie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090101/d7882c31/attachment.htm>


More information about the petsc-users mailing list