[yt-dev] Matching points to grids
John ZuHone
jzuhone at gmail.com
Fri Nov 16 10:07:12 PST 2012
I did know about that, but given, say, a million points, would that be *fast*? I need to look at what it does I guess.
In FLASH, what'd we'd normally do is start at the top level and traverse down the octree until we found the block.
On Nov 16, 2012, at 1:02 PM, Nathan Goldbaum <nathan12343 at gmail.com> wrote:
> Hi John,
>
> Yes, you can use pf.h.find_point() to do that. There's some documentation on it here: http://yt-project.org/doc/analyzing/low_level_inspection.html#finding-data-at-fixed-points
>
> -Nathan
>
> On Nov 16, 2012, at 10:00 AM, John ZuHone wrote:
>
>> Hi all,
>>
>> Do we have anything in yt right now that, given a set of points, *quickly* finds out which grids they belong to?
>>
>> Best,
>>
>> John Z
>> _______________________________________________
>> yt-dev mailing list
>> yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20121116/0ca61044/attachment.html>
More information about the yt-dev
mailing list