Hi Geoffrey and all,<br><br>Including cells if just a piece of them is inside the region does not really change the computation time.  It's just a matter of adding or subtracting dx/2 when considering a given cell.<br>
<br>The difference between the two options is mostly academic, I think.  I would say it's more important to stick to a consistent definition for all data containers.  How are spheres and disks treated?  Is it only cell centers there?  If so, let's stick with that.<br>
<br>Britton<br><br><div class="gmail_quote">On Fri, Feb 3, 2012 at 4:20 PM, Geoffrey So <span dir="ltr"><<a href="mailto:gsiisg@gmail.com">gsiisg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Center would be better I agree, checking if all edges is just multiplying the same calculation by 8.<div><br></div><div>From</div><div><span class="HOEnZb"><font color="#888888">G.S.</font></span><div><div class="h5"><br>
<br><div class="gmail_quote">On Fri, Feb 3, 2012 at 1:01 PM, Stephen Skory <span dir="ltr"><<a href="mailto:s@skory.us" target="_blank">s@skory.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>> So a better question, I suppose, is why do we have an *un*strict<br>
> region?  Should we be doing unstrict for all of our data objects?<br>
> i.e., if a sphere intersects a cell but doesn't hit the corner, do we<br>
> select that cell?<br>
<br>
</div>I would say that if the center of the cell is inside the sphere,<br>
include it. I think anything more complicated won't be any better, but<br>
more difficult.<br>
<div><div><br>
<br>
--<br>
Stephen Skory<br>
<a href="mailto:s@skory.us" target="_blank">s@skory.us</a><br>
<a href="http://stephenskory.com/" target="_blank">http://stephenskory.com/</a><br>
<a href="tel:510.621.3687" value="+15106213687" target="_blank">510.621.3687</a> (google voice)<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>
</div></div></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>