[yt-users] Profiles, root grid

Matthew Turk matthewturk at gmail.com
Mon May 9 09:57:52 PDT 2011


Hi David,

Try a grid_collection:

gc = pf.h.grid_collection([0.5,0.5,0.5], [pf.h.grids[0]])

Note that it still requires a 'center'.  Also, this object is not
supposed to do any child masking, so if you find that it does, let me
know.

-Matt

On Mon, May 9, 2011 at 9:43 AM, david collins <antpuncher at gmail.com> wrote:
> Hi there--
>
> I'd like to add a profile object using only the root grid.  I
> typically do something like this:
>
> pc.add_profile_object(region,fields, weight=weight)
>
> Is there a way to restrict this to only root grid tiles?  I've tried
> using a covering grid, but that's throwing some key error (that I'm
> looking into presently, I'll have more info if/as I sort it out)
>
> Thanks,
> d.
>
> --
> Sent from my computer.
> _______________________________________________
> 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