[yt-dev] Downgrading Grid Resolution in yt
Cameron Hummels
chummels at astro.columbia.edu
Fri Jun 1 09:06:15 PDT 2012
Hi Matt,
> This might be a dumb question, but have you looked at examining the
> grid cells that your level 10 grid covers at level 9?
I do not know how to use yt to look at the contents of a grid cell on a
different level than its highest level of refinement. Looking over the
documentation, it does not appear that this functionality is included.
I suppose I could get into the sourcecode of covering_grid, but I
thought I'd ask here first.
> I also believe that if you ask for a covering grid at level 9, and it
> covers grids at level 10, it will not use the level 10 grids when
> calculating the constituent values. There's this trick we do to
> figure out if the child masking should be taken into account with
> covering grids, and the criteria is: is this the final level we want
> to sample to?
That sounds great. So all I want to do is simply ignore child masking
data from levels on the highest level of refinement. But again, is
there any function which does this publicly, or is it all buried in
covering_grid?
Cameron
More information about the yt-dev
mailing list