[yt-users] Boundary of the data container

Junhwan Choi (최준환) choi.junhwan at gmail.com
Tue May 6 20:27:16 PDT 2014


Thank you Nathan,
Junhwan

On Tue, May 6, 2014 at 9:51 PM, Nathan Goldbaum <nathan12343 at gmail.com> wrote:
> Hi Junhwan,
>
> 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.
>
> It looks like you asked a similar question back in 2012 - Matt's answers
> should apply here as well:
> http://lists.spacepope.org/htdig.cgi/yt-users-spacepope.org/2012-May/002545.html
>
> Cheers,
>
> Nathan
>
>
> On Tue, May 6, 2014 at 7:39 PM, Junhwan Choi (최준환) <choi.junhwan at gmail.com>
> wrote:
>>
>> Hi yt users,
>>
>> I have one basic question about the membership of the data container.
>> For example, I make a sphere data container and try to estimate the
>> total enclosed mass of the sphere.
>> However one of the refined cell (grid) is partially enclosed in the
>> sphere.
>> Does the yt add entire cell (grid) mass into the sphere mass or
>> estimate the volume fraction of the cell mass and add only this
>> partial mass?
>> This question can be also applied for the density profile (r vs density).
>> What happen one cell extends to multiple binning point?
>>
>> I would like to clarify my yt analysis.
>>
>> Thanks in advance,
>> Junhwan
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list