<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:'Times New Roman',Times,serif;" dir="ltr">
<p>Dear Matt,</p>
<p><br>
</p>
<p>Thank you for the reply. I have a more specific question<span style="font-size: 12pt;"> about the spectral element example. Do you have any suggestions that how to </span><span style="font-size: 12pt;">write all the
</span><span style="font-size: 12pt;">nodes in each </span><span style="font-size: 12pt;">cell</span><span style="font-size: 12pt;"> to .vtu?</span></p>
<p><br>
</p>
<p>Thanks!</p>
<p>Junming</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> knepley@gmail.com <knepley@gmail.com><br>
<b>Sent:</b> Monday, June 12, 2023 1:34:24 PM<br>
<b>To:</b> Duan Junming<br>
<b>Cc:</b> petsc-users@mcs.anl.gov<br>
<b>Subject:</b> Re: [petsc-users] dm_view of high-order geometry/solution</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">On Mon, Jun 12, 2023 at 4:13 AM Duan Junming via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="msg6737395096256483535">
<div dir="ltr">
<div id="m_6737395096256483535divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:"Times New Roman",Times,serif" dir="ltr">
<p>Dear all,</p>
<p><br>
</p>
<p>I am playing with <span>dm/impls/plex/<span>tests/ex33.c and know how to set high-order geometry.</span></span></p>
<p><span><span>Is it possible to output the final mesh to vtu, e.g. annulus example?</span></span></p>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>The problem is that VTK has no nice, standard way to talk about higher order polynomials. Thus, the</div>
<div>best way to do this is to call DMRefine() once or twice and output that mesh.</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">
<div class="msg6737395096256483535">
<div dir="ltr">
<div id="m_6737395096256483535divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:"Times New Roman",Times,serif" dir="ltr">
<p>Thanks!</p>
<p>Junming</p>
<div id="m_6737395096256483535Signature">
<div id="m_6737395096256483535divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif,Times,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="font-family:Calibri,Helvetica,sans-serif;font-size:16px"><span style="font-family:"Times New Roman",Times,serif;font-size:12pt"></span></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<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="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>