<div dir="ltr">Matt<div><br></div><div>Thanks. Indeed, setting "Parent" to the list of parents is working fine.</div><div><br></div><div>Cactus vertex-centred data do not look nice, as the refinement level interfaces are clearly visible.</div><div><br></div><div>I attach two plots, one for cell-centred AMR, the other for vertex-centred AMR. Both show r, the radial coordinate, and were produced by</div><div><br></div><div><div>p = yt.SlicePlot(ds, "z", "GRID::r")</div><div>p.set_cmap(field="all", cmap="plasma")</div><div>p.set_log("all", False)</div><div>p.set_zlim("all", 0, 2)</div><div>p.save("GRID-r.png")</div></div><div><br></div><div>Both datasets have three levels 0,1,2, where level 1 covers (almost) all of level 0, and level 2 ranges has approximate size [-20,20]^3.</div><div><br></div><div>-erik</div><div><img src="cid:ii_15107b54ec98641c" alt="Inline image 1" width="551" height="467"><img src="cid:ii_15107b55e2af1c7f" alt="Inline image 2" width="551" height="467"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 14, 2015 at 2:50 PM, 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>
It uses these when masking overlapping regions.  It can also<br>
auto-detect these lists.  Boxlib also spans parents; you can see how<br>
it operates, as it does not split parent grids.<br>
<div><div class="h5"><br>
On Sat, Nov 14, 2015 at 1:48 PM, Erik Schnetter <<a href="mailto:schnetter@gmail.com">schnetter@gmail.com</a>> wrote:<br>
> What do the Parent and Children lists for AMRGridPatch do in yt? I've set up<br>
> a grid structure without defining these entries, and things seem to be<br>
> working fine. Would yt automatically disable certain regions of the parents<br>
> if there are overlapping children?<br>
><br>
> In Cactus's AMR structure, a refined grid does not have a single parent grid<br>
> -- it may overlap with multiple coarser grids. How do I tell yt about this?<br>
> Do I need to split the fine grids?<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>
</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>