<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><br>Thank you Matt and Jed for your answers!<br>As far as I understand, DMPlexDistribute call DMPlexCreatePartition and is exactly what I am looking for.<br><br>Cédric<br><br><br><br><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Matthew Knepley" <knepley@gmail.com><br><b>À: </b>"Jed Brown" <jedbrown@mcs.anl.gov><br><b>Cc: </b>"Cedric Doucet" <cedric.doucet@inria.fr>, petsc-users@mcs.anl.gov<br><b>Envoyé: </b>Jeudi 24 Octobre 2013 00:25:40<br><b>Objet: </b>Re: [petsc-users] Partitioning meshes with DMPlex<br><br><div dir="ltr">On Wed, Oct 23, 2013 at 10:43 AM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Cedric Doucet <<a href="mailto:cedric.doucet@inria.fr" target="_blank">cedric.doucet@inria.fr</a>> writes:<br>
<br>
> Hello,<br>
><br>
> what is the best way to partition unstructured meshes stored with DMPlex?<br>
<br>
</div>You can use DMPlexCreatePartition, which supports metis and chaco.<br>
<br>
Matt, DMPlexCreatePartition documentation has left out the partitioner "name".</blockquote><div><br></div><div>I assume what you really want is DMPlexDistribute().</div><div><br></div><div>   Matt</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
> Does one have to create an adjacency matrix and use MatPartitioning routines?<br>
> I do not want to partition the mesh graph (by cutting edges) but having a true domain decomposition (sets of cells per processor).<br>
><br>
> Thank you very much for your help!<br>
><br>
> Best regards,<br>
><br>
> Cédric Doucet<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>
</blockquote><br></div></body></html>