[yt-users] Using AMR with inline Python
Azton Wells
azton.wells at gmail.com
Tue Jul 5 15:04:45 PDT 2016
Hi all,
I am trying to use inline python during an AMR cosmology simulation. During
the simulation, I access the grid using:
rho = na.asarray(enzo.grid_data[enzo.grid_data.keys()[0]]["Density"])
Which is what I used during a static hierarchy simulation without problems.
Will the above code access the top grid during AMR, or will it be accessing
the most-refined grid level?
Thanks very much,
Azton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160705/05aaeaaf/attachment.htm>
More information about the yt-users
mailing list