<p><br>
On Jun 1, 2012 12:01 PM, "Cameron Hummels" <<a href="mailto:chummels@astro.columbia.edu">chummels@astro.columbia.edu</a>> wrote:<br>
><br>
> Hi Matt,<br>
><br>
><br>
>> This might be a dumb question, but have you looked at examining the<br>
>> grid cells that your level 10 grid covers at level 9?<br>
><br>
><br>
> 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.</p>

<p>pf.h.grids has an array of grids. This is definitely in the docs. You can get their LeftEdge and RightEdge, and they also have the get_global_startindex function which gives it to you in level-relative integers. </p>
<p>><br>
><br>
>> I also believe that if you ask for a covering grid at level 9, and it<br>
>> covers grids at level 10, it will not use the level 10 grids when<br>
>> calculating the constituent values.  There's this trick we do to<br>
>> figure out if the child masking should be taken into account with<br>
>> covering grids, and the criteria is: is this the final level we want<br>
>> to sample to?<br>
><br>
> 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?</p>

<p>What I am getting at is that you could just use covering grid and specify a lower level than the highest. </p>
<p>><br>
> Cameron<br>
><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">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</p>