Parent and Children lists of AMRGridPatch
What do the Parent and Children lists for AMRGridPatch do in yt? I've set
up a grid structure without defining these entries, and things seem to be
working fine. Would yt automatically disable certain regions of the parents
if there are overlapping children?
In Cactus's AMR structure, a refined grid does not have a single parent
grid -- it may overlap with multiple coarser grids. How do I tell yt about
this? Do I need to split the fine grids?
-erik
--
Erik Schnetter
Hi Erik,
It uses these when masking overlapping regions. It can also
auto-detect these lists. Boxlib also spans parents; you can see how
it operates, as it does not split parent grids.
On Sat, Nov 14, 2015 at 1:48 PM, Erik Schnetter
What do the Parent and Children lists for AMRGridPatch do in yt? I've set up a grid structure without defining these entries, and things seem to be working fine. Would yt automatically disable certain regions of the parents if there are overlapping children?
In Cactus's AMR structure, a refined grid does not have a single parent grid -- it may overlap with multiple coarser grids. How do I tell yt about this? Do I need to split the fine grids?
-erik
-- Erik Schnetter
http://www.perimeterinstitute.ca/personal/eschnetter/ _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
Matt
Thanks. Indeed, setting "Parent" to the list of parents is working fine.
Cactus vertex-centred data do not look nice, as the refinement level
interfaces are clearly visible.
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
p = yt.SlicePlot(ds, "z", "GRID::r")
p.set_cmap(field="all", cmap="plasma")
p.set_log("all", False)
p.set_zlim("all", 0, 2)
p.save("GRID-r.png")
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.
-erik
[image: Inline image 1][image: Inline image 2]
On Sat, Nov 14, 2015 at 2:50 PM, Matthew Turk
Hi Erik,
It uses these when masking overlapping regions. It can also auto-detect these lists. Boxlib also spans parents; you can see how it operates, as it does not split parent grids.
What do the Parent and Children lists for AMRGridPatch do in yt? I've set up a grid structure without defining these entries, and things seem to be working fine. Would yt automatically disable certain regions of the
if there are overlapping children?
In Cactus's AMR structure, a refined grid does not have a single parent grid -- it may overlap with multiple coarser grids. How do I tell yt about
On Sat, Nov 14, 2015 at 1:48 PM, Erik Schnetter
wrote: parents this? Do I need to split the fine grids?
-erik
-- Erik Schnetter
http://www.perimeterinstitute.ca/personal/eschnetter/ _______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ yt-dev mailing list yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
--
Erik Schnetter
participants (2)
-
Erik Schnetter
-
Matthew Turk