[petsc-dev] Petsc Support for Bandwidth Minimization

Jed Brown jedbrown at mcs.anl.gov
Mon Jan 2 22:10:19 CST 2012


On Mon, Jan 2, 2012 at 21:58, Dave Nystrom <dnystrom1 at comcast.net> wrote:

> I'm wondering if petsc has support for reordering the unknowns under the
> hood
> so that for the z-coupling case, the matrix can be cast as a compact
> tridiagonal matrix.  Essentially, this would be support for minimizing the
> bandwidth.
>

-pc_factor_mat_ordering_type rcm


You can get this with MatGetOrdering(A,MATORDERINGRCM,&isrow,&iscol)


We need to write man pages for all the MatOrderingTypes (RCM, ND, etc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120102/d3949b61/attachment.html>


More information about the petsc-dev mailing list