[petsc-users] how to simultaneously perform the partition of the unstructured mesh and reduction bandwidth of the resulting sparsematrix

Jed Brown jedbrown at mcs.anl.gov
Thu Sep 12 18:53:00 CDT 2013


丁老师 <ztdepyahoo at 163.com> writes:

> which petsc function perform the reordering of the matrix

MatGetOrdering() gives you the permutation vectors.

You should be doing this reordering with the *mesh*.  You can represent
mesh connectivity in a matrix and use MatPartitioning and
MatGetOrdering, but you should use the result to redistribute the mesh
before assembling the matrices containing your physics.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130912/4fa745a2/attachment.pgp>


More information about the petsc-users mailing list