<div dir="ltr"><div>Hi, </div><div><br></div><div>Using dmplex, I am trying to create an example where I can start with a poor distribution of an unstructured mesh (reading from a file in parallel) and then use redistribution to optimize it. <br></div><div><br></div><div>I know that I can call ReBalanceSharedPoints on an already created distribution from dmplexDistribute. But is it possible to initialize a dmplex from each rank (each rank initializes its own chunk of the mesh) and then call this function? <br></div><div><br></div><div>Most of the numbering in dmplex DAG representation is local, but while reading from a file in parallel, I only have access to global numbering of nodes. Do I need to reassign this to a local numbering? Is there a datastructure within petsc that can help with this? <br></div><div><br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><div>Thank you.<br>Sincerely,<br>Prateek Gupta, PhD</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>