<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0">Matthew,</p>
<p style="margin-top:0; margin-bottom:0">It must be definitely because of my limited knowledge but, as an engineer, the documentation for DMForest is not clear to me. Does DMforest change the mesh of domain dynamically as the system changes?
<br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I am studying solidification problem by solving cahn-hillard equation.  The solid phase starts from a point and it grows in the liquid phase by time. Does DMForest dynamically refine mesh at regions close to interface
 and coarse at domain far from the interface ( interface is moving)?</p>
<p style="margin-top:0; margin-bottom:0">Thanks,</p>
<p style="margin-top:0; margin-bottom:0">Sepideh<br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Matthew Knepley <knepley@gmail.com><br>
<b>Sent:</b> Thursday, September 6, 2018 6:46:55 PM<br>
<b>To:</b> Sepideh Kavousi<br>
<b>Cc:</b> PETSc<br>
<b>Subject:</b> Re: [petsc-users] DMForest</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div dir="ltr">
<div class="x_gmail_quote">
<div dir="ltr">On Thu, Sep 6, 2018 at 6:04 PM Sepideh Kavousi <<a href="mailto:skavou1@lsu.edu" id="LPlnk804956" class="OWAAutoLink" previewremoved="true">skavou1@lsu.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="x_m_5925412994003425249divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0">Hello,</p>
<p style="margin-top:0; margin-bottom:0">I have a Petsc code solving PDE using FD method, and I generated the structures grid with DMDA. I was planning to implement adaptive mesh refinement to the same structures mesh but the documentation on the DMForest is
 not easy to find. I checked the <span>petsc/src/dm/impls/forest/examples/tutorials</span> but I found one tutorial which did not have so much information. I also found
<span>src/ts/examples/tutorials/ex11.c</span> but it was for DMPlex, and finite volume method.
<br>
</p>
<p style="margin-top:0; margin-bottom:0">I wonder if there is another example for DMForest?
<br>
</p>
<p style="margin-top:0; margin-bottom:0"></p>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>TS ex11 works for Plex or Forest.</div>
<div><br>
</div>
<div>  Thanks,</div>
<div><br>
</div>
<div>     Matt</div>
<div> </div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="x_m_5925412994003425249divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0">Thanks,<br>
</p>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="x_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="http://www.cse.buffalo.edu/~knepley/" target="_blank" id="LPlnk803265" class="OWAAutoLink" previewremoved="true">https://www.cse.buffalo.edu/~knepley/</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>