[yt-users] particle generator and update issues

Michael Zingale michael.zingale at stonybrook.edu
Tue Oct 14 06:59:48 PDT 2014


only tangentially related to this, the ack command (http://beyondgrep.com/)
is a great way to search through code for variables, routines, etc.  ack
knows about source code and is recursive by default, so

ack CICDeposit_3

in the main yt/ directory shows CICDeposit.pyx having the function
definition.

Full disclosure, I think I learned about ack on this list a long time ago,
but it's so useful, it's worth repeating.

Mike


On Tue, Oct 14, 2014 at 9:42 AM, Elizabeth Tasker <
tasker at astro1.sci.hokudai.ac.jp> wrote:

> Hi John,
>
> Thanks for looking into this!
>
>
> CICDeposit and CICSample are actually the opposite of each other—the first
> deposits particle quantities onto the mesh, the second interpolates mesh
> quantities onto the particles. I’m not sure why CICDeposit_3 wasn’t in your
> repo—I can import it over here.
>
>
> Ah! This was my mistake: I was searching for it in a python routine, but
> it lives in particle_deposit.c.
>
>
> Updating again has worked! I am now back on yt-3:
>
>
> tasker at schiehallion:~/yt-3/bin$ yt update
>
> yt : [INFO     ] 2014-10-14 22:24:20,504 Loading plugins from
> /home/tasker/.yt/my_plugins.py
>
>
> yt module located at:
>
>     /home/tasker/yt-new/src/yt-hg
>
>
> The current version and changeset for the code is:
>
>
> ---
>
> Version = 3.0.2
>
> Changeset = a119d0a54bfe (stable) tip
>
> ---
>
>
> This installation CAN be automatically updated.
>
>
>
> So the only error is the is the "KeyError: ('io', 'particle_position_x’)” .
>
>
> Thanks!
>
>
> Elizabeth
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>


-- 
Michael Zingale
Associate Professor

Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY
11794-3800
*phone*:  631-632-8225
*e-mail*: Michael.Zingale at stonybrook.edu
*web*: http://www.astro.sunysb.edu/mzingale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141014/ab308b24/attachment.htm>


More information about the yt-users mailing list