Hi Matt,<br><br>Given that the type of non-periodic boundary conditions qouls not change any of the things you're talking about, I think it's fine to do it just as you say.<br>+1 for something like pf.h.periodicity<br>
<br>Britton<br><br><div class="gmail_quote">On Thu, Feb 2, 2012 at 10:05 AM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com">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's the best way to handle boundary conditions?  I was thinking<br>
mainly, what's the smallest signal we can send -- typically into<br>
Cython routines that might need to iterate -- that indicates, "wrap<br>
this around the edge in this dimension"?<br>
<br>
Essentially I think there are two main cases we need to consider for<br>
the purposes of what yt wants, which are:<br>
<br>
1) Periodic along an axis<br>
2) Non-periodic (inflow, isolated) on an axis<br>
<br>
This shows up for the plotting routines, vertex-centering of data, and<br>
a handful of other things.  I'm not sure how to handle this the best.<br>
If we really have only these options (and I'm not a 100% on that) then<br>
would it work to have a simple array of axes that hangs off the<br>
hierarchy object, which is 0 for non-periodic on an axis and 1 for<br>
periodic?<br>
<br>
-Matt<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>
</blockquote></div><br>