"Klinvex, Alicia Marie" <[email protected]> writes:
>  ISLocalToGlobalMapping PETScRowOwnership, PETScColOwnership;
>
>   ierr = MatGetLocalToGlobalMapping(A, &PETScRowOwnership, 
> &PETScColOwnership); CHKERRV(ierr);

It appears that the local-to-global mapping has not been set.  Note that
these mappings do not signify "ownership", but rather a map from an
(overlapping) local index space to the non-overlapping global index
space.

Perhaps you would like MatGetOwnershipRange(s)?

Attachment: signature.asc
Description: PGP signature

Reply via email to