[Dune] Help with ParMetis

Markus Blatt markus at dr-blatt.de
Thu Mar 6 13:29:45 CET 2014


Hi,

> I need to build the adjacency graph for the elements.  If I have understood the
> ParMetis documentation correctly I need a global numbering of the elements for
> that.  Is that correct?  What is the easiest way to construct such a numbering,
> using only the Dune interface?  Does anybody have code to share?

You need a consecutive global numbering of the elements, and a
partition of it (i.e. each element only exists on one process). For
each element a process owns it needs to have _all_ the adjacency
information.

In dune/istl/repartition.hh there is code that builds this for a
distributed matrix. Probably, Robert has some code for grids in
AlUGrid? 

Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140306/34fedcca/attachment.sig>


More information about the Dune mailing list