<div dir="ltr">Matt<div><br></div><div>In my notion, there are no cells, only vertices. Or if you want to renaming things, then there are only cells, no vertices, but the fine a coarse grid cells do not share faces.</div><div><br></div><div>To answer your question specifically: no, it does not matter whether  the centre of a "cell" is selected. Only the vertices that are selected should be part of the selection.</div><div><br></div><div>-erik</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 11, 2015 at 8:57 AM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Erik,<br>
<br>
I have some ideas about this, but it relies heavily on the notion of<br>
how to regard "vertices" as separate from "cells", or if they should<br>
not be.  In terms of things like visualization, vertex centered data<br>
is not a huge leap in functionality, but in terms of data selection we<br>
need to be careful.  The canonical question is, if you have a region<br>
selector that includes the *center* of a zone, should all of its<br>
vertices be selected?  For instance, imagine you have a region<br>
selector whose corner resides at the center of a (3D) cell.  Does one<br>
select all eight vertices, since the "cell" is nominally selected, or<br>
just the one vertex that is included?  If we can answer that, we can<br>
start the work of implementing.<br>
<div><div class="h5"><br>
On Tue, Nov 10, 2015 at 7:11 PM, Nathan Goldbaum <<a href="mailto:nathan12343@gmail.com">nathan12343@gmail.com</a>> wrote:<br>
><br>
><br>
> On Tuesday, November 10, 2015, Erik Schnetter <<a href="mailto:schnetter@gmail.com">schnetter@gmail.com</a>> wrote:<br>
>><br>
>> I have implemented a front-end for cell-centred Cactus AMR data.<br>
>><br>
><br>
> Awesome! We'd love to have this in the public distribution of yt.<br>
><br>
>><br>
>><br>
>> However, many Cactus simulations use vertex-centred AMR. That is, data is<br>
>> stored at the vertices of a grid (not in the cells), and coarse vertices are<br>
>> at the same locations as fine vertices.<br>
>><br>
>> How do I present such data to yt? Do I need to set grid coordinates<br>
>> differently, or is there a "vertex centred" flag?<br>
>><br>
>> When vertex-centred data are displayed, then I expect either a "control<br>
>> volume" around each vertex to have the same value, or to use e.g. linear<br>
>> interpolation in the cells from the respective boundaries.<br>
><br>
><br>
> We don't have good support for vertex-centered AMR data. I think Matt would<br>
> have a better idea of what approaches we might take here.<br>
><br>
>><br>
>><br>
>> -erik<br>
>><br>
>> --<br>
>> Erik Schnetter <<a href="mailto:schnetter@gmail.com">schnetter@gmail.com</a>><br>
>> <a href="http://www.perimeterinstitute.ca/personal/eschnetter/" rel="noreferrer" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> yt-dev mailing list<br>
> <a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
><br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Erik Schnetter <<a href="mailto:schnetter@gmail.com" target="_blank">schnetter@gmail.com</a>> <a href="http://www.perimeterinstitute.ca/personal/eschnetter/" target="_blank">http://www.perimeterinstitute.ca/personal/eschnetter/</a><br></div>
</div>