How to get information about the off-diagonal submatrix

Matthew Knepley knepley at
Mon Aug 10 08:53:09 CDT 2009

If this is just for debugging, the easiest way I think is to call
MatGetSubmatrix() with
a column IS that omits the local columns.


On Mon, Aug 10, 2009 at 8:28 AM, Thomas Witkowski <
thomas.witkowski at> wrote:

> Hi,
> how is it possible to print just the off-diagonal submatrix of one process
> of a parallel mpiaij matrix?
> Thomas

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: <>

More information about the petsc-users mailing list