[yt-dev] amrspace + load_amr_grids

Sam Skillman samskillman at gmail.com
Tue Feb 26 08:49:00 PST 2013


Seems like I can do [:,::-1] for gles, gres, and [::-1] for levels, and
subtract by 1 and it will work.  Should amrspace return them like this?  I
don't know what else amrspace is used for.


On Tue, Feb 26, 2013 at 9:31 AM, Sam Skillman <samskillman at gmail.com> wrote:

> Hi all,
> I'm trying to figure out how to use amrspace combined with load_amr_grids
> to create a decently complex amr structure for testing.  However, I can't
> find any example of doing such a thing in any documentation or source.  My
> attempt below fails in that it creates no level-0 grids, and also has the
> ordering of grids messed up grid 0 is level 4.
>
> Any advice on combining these two functions?
>
> http://paste.yt-project.org/show/3206/
>
> Thanks,
> Sam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20130226/31b8c256/attachment.htm>


More information about the yt-dev mailing list