[yt-dev] amrspace + load_amr_grids

Matthew Turk matthewturk at gmail.com
Tue Feb 26 11:05:20 PST 2013


Hey Sam,

It's used in the 3.0 testing:

yt/utilities/lib/tests/test_alt_ray_tracers.py

has it in a couple places.

-Matt

On Tue, Feb 26, 2013 at 11:49 AM, Sam Skillman <samskillman at gmail.com> wrote:
> 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
>
>
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>



More information about the yt-dev mailing list