how to get bandwidth of a matrix
Dave May
dave.mayhem23 at gmail.com
Wed Nov 12 05:39:27 CST 2008
Hey Marco,
I think MatGetRow() should do what you are after.
http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/Mat/MatGetRow.html
Cheers,
Dave
On Wed, Nov 12, 2008 at 10:01 PM, Marco Schauer <m.schauer at tu-bs.de> wrote:
> Hello,
> I try to find out the bandwidth of my matrix. Currently I use MatInfo to
> get nonzero entities, but MatInfo returns only the allocated, used and
> unneeded entities of the whole matrix. Is it possible to get the nonzero
> entities for each row?
> Kind regards
> Marco
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20081112/cf3f98d2/attachment.htm>
More information about the petsc-users
mailing list