<div dir="ltr"><div dir="ltr">On Wed, Jan 15, 2025 at 11:51 AM Ye Changqing <<a href="mailto:Ye_Changqing@outlook.com">Ye_Changqing@outlook.com</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear PETSc developers,<br>
<br>
I am curious about the mystery behind ``refine'' and ``coarsen'' routines of DM. <br>
<br>
- As mentioned on the webpage, these routines appear to neglect the coordinate information associated with the current DM. I suspect that some graph-based algebraic operations might be involved. Could you kindly share the underlying design principles or implementation strategies behind these routines?<br></blockquote><div><br></div><div>Some of the confusion is because DM can represent lots of kinds of meshes, but the refine/coarsen algorithms are mesh-type specific. For example,</div><div><br></div><div>1) DMForest can refine and coarsen using quadtree algorithms</div><div><br></div><div>2) DMPlex meshes can be regularly refined, and adaptively refined using the SBR algorithm</div><div><br></div><div>3) DMPlex meshes can be refined and coarsened using metric-based adaptation through MMG.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Best,<br>
Changqing</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>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><br></div><div><a href="https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bGEN7gIKzUtDZ3Tll_Kl1xvRrW0jG9BWKCDtHx4xjvxwQXHnMRqN6VyzStaEMQuZeecebRnNMLftf7IK_ng8$" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>