Maybe just fill the ghost zones with zeros?  If we're feeling really ambitious we could read in the boundary conditions for the simulation and do whatever is appropriate for those BCs.


On Wed, Jun 25, 2014 at 3:25 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi all,

What should we do (in general) about non-periodic datasets and getting
ghost zones for the domain edges?

This is the reason that the cookbook recipe
simple_slice_with_multiple_fields.py fails -- it's trying to get
vorticity (needs GZs) for a non-periodic dataset.

Fixing the cookbook only requires swapping out the dataset, but I
thought we should probably open this discussion up a bit too.

-Matt
_______________________________________________
yt-dev mailing list
yt-dev@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org