<div dir="ltr">Hi Junhwan,<div><br></div><div>yt uses the location of the center of a cell when selecting cells for a data object.  If the cell center is inside the boundary of your data object, *all* of that cell gets counted towards the data object. If the cell center is outside the data object boundary, *none* of that cell gets counted towards the data object.</div>

<div><br></div><div>It looks like you asked a similar question back in 2012 - Matt's answers should apply here as well: <a href="http://lists.spacepope.org/htdig.cgi/yt-users-spacepope.org/2012-May/002545.html">http://lists.spacepope.org/htdig.cgi/yt-users-spacepope.org/2012-May/002545.html</a></div>

<div><br></div><div>Cheers,</div><div><br></div><div>Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 6, 2014 at 7:39 PM, Junhwan Choi (최준환) <span dir="ltr"><<a href="mailto:choi.junhwan@gmail.com" target="_blank">choi.junhwan@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 yt users,<br>
<br>
I have one basic question about the membership of the data container.<br>
For example, I make a sphere data container and try to estimate the<br>
total enclosed mass of the sphere.<br>
However one of the refined cell (grid) is partially enclosed in the sphere.<br>
Does the yt add entire cell (grid) mass into the sphere mass or<br>
estimate the volume fraction of the cell mass and add only this<br>
partial mass?<br>
This question can be also applied for the density profile (r vs density).<br>
What happen one cell extends to multiple binning point?<br>
<br>
I would like to clarify my yt analysis.<br>
<br>
Thanks in advance,<br>
Junhwan<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div>