On Tuesday, November 10, 2015, Erik Schnetter <schnetter@gmail.com> wrote:
I have implemented a front-end for cell-centred Cactus AMR data. 


Awesome! We'd love to have this in the public distribution of yt.
 

However, many Cactus simulations use vertex-centred AMR. That is, data is stored at the vertices of a grid (not in the cells), and coarse vertices are at the same locations as fine vertices.

How do I present such data to yt? Do I need to set grid coordinates differently, or is there a "vertex centred" flag?

When vertex-centred data are displayed, then I expect either a "control volume" around each vertex to have the same value, or to use e.g. linear interpolation in the cells from the respective boundaries.

We don't have good support for vertex-centered AMR data. I think Matt would have a better idea of what approaches we might take here.
 

-erik

--
Erik Schnetter <schnetter@gmail.com> http://www.perimeterinstitute.ca/personal/eschnetter/