<div dir="ltr"><div dir="ltr">On Tue, Apr 20, 2021 at 3:25 PM hu abel <<a href="mailto:hu.ds.abel@outlook.com">hu.ds.abel@outlook.com</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 style="overflow-wrap: break-word;">Hi everyone!<div><br></div><div> Could use DMDA create dm write to gmsh format file? Or vtk?</div><div>I tried <span style="font-family:Menlo;font-size:11px">dm/tutorials/ex1.c </span></div><div><font face="Menlo"><span style="font-size:11px"> ./ex1 </span></font><span style="font-family:Menlo;font-size:11px">-dm_view ascii:ex1.msh</span></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">cat ex1.msh </span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">DM Object: 1 MPI processes</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"> type: da</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Processor [0] M 10 N 8 m 1 n 1 w 2 s 1</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">X range of indices: 0 10, Y range of indices: 0 8</span></div></div></div></blockquote><div><br></div><div>You can write to .vtu, which should be what you want.</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 style="overflow-wrap: break-word;"><div>Thanks</div><div>Abel</div></div></blockquote></div><br clear="all"><div><br></div>-- <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>