<div dir="ltr">There are a lot of different types of boundary conditions, and some codes take different actions depending on the variable, so it would be difficult to support everything.  I have the Maestro front-end reading in the boundary type, but I usually have to override it to periodic to get yt to work.  <div>
<br></div><div>One option is to provide just the minimum types of boundaries, a zero-gradient/Neumann/outflow, and a reflection (perhaps that does odd-reflection for vectors normal to the interface).  This should cover most of the standard use cases (maybe a survey of what types of boundaries people use would help?).  To close the remaining gap, there could be a standard function interface that a user or frontend writer could provide to handle "custom" BCs.</div>
<div><br></div><div>It would also be useful to know what routines need boundary conditions and how many ghost cells are needed.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 25, 2014 at 6:33 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Maybe just fill the ghost zones with zeros?  If we're feeling really ambitious we could read in the boundary conditions for the simulation and do whatever is appropriate for those BCs.</div>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra">

<br><br><div class="gmail_quote">On Wed, Jun 25, 2014 at 3:25 PM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi all,<br>
<br>
What should we do (in general) about non-periodic datasets and getting<br>
ghost zones for the domain edges?<br>
<br>
This is the reason that the cookbook recipe<br>
simple_slice_with_multiple_fields.py fails -- it's trying to get<br>
vorticity (needs GZs) for a non-periodic dataset.<br>
<br>
Fixing the cookbook only requires swapping out the dataset, but I<br>
thought we should probably open this discussion up a bit too.<br>
<br>
-Matt<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Michael Zingale</div><div>Associate Professor</div><div><br></div><div>Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY 11794-3800</div>
<div><i>phone</i>:  631-632-8225</div><div><i>e-mail</i>: <a href="mailto:Michael.Zingale@stonybrook.edu" target="_blank">Michael.Zingale@stonybrook.edu</a></div><div><i>web</i>: <a href="http://www.astro.sunysb.edu/mzingale" target="_blank">http://www.astro.sunysb.edu/mzingale</a></div>

</div>