<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, Jul 13, 2018 at 9:17 AM Jordan Wagner <<a href="mailto:j.wagner@rice.edu">j.wagner@rice.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
In my code, I have a separate preprocessing script that I usually run in <br>
serial to set up various things for my solver. One of the things I want <br>
the preprocessor to do is setup everything related to the DMPlex, and <br>
then I write it out to an HDF5 file to be read in the main solver. In <br>
the preprocessor, I have everything set up how I want it as far as the <br>
DM and have created and specified a default section. My problem is that <br>
when reading the resulting HDF5 file with DMLoad in my main solver, it <br>
doesn't look like I have the default section anymore. Most everything <br>
else, such as the labels, seem to be working fine. Is there a way to <br>
make the DMView/DMLoad functions write/read the default sections as <br>
well? That way I can immediately run DMPlexDistribute and have <br>
everything distributed right off the bat in the main solver.<br></blockquote><div><br></div><div>Hi Jordan,</div><div><br></div><div>I had not written it this way because my Sections are created automatically from a</div><div>specification of the discretization. What kind of discretization are you using?</div><div><br></div><div>We could certainly do this. The easiest way I think is to wrap the internal dof and off</div><div>arrays as IS and use ISView/Load. Would you also want the BC?</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks a lot!<br>
<br>
jw<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><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.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div>