[petsc-users] MatGetLocalToGlobalMapping returning null pointers
jed at jedbrown.org
Mon Jul 27 14:42:15 CDT 2015
"Klinvex, Alicia Marie" <amklinv at sandia.gov> 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
Perhaps you would like MatGetOwnershipRange(s)?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 818 bytes
Desc: not available
More information about the petsc-users