<div dir="ltr">Backing up, there seems to be issues with creating smoothed covering grids of any deposited particle field.<div><br></div><div>Take for example the following script: <a href="http://paste.yt-project.org/show/5068/">http://paste.yt-project.org/show/5068/</a></div>

<div><br></div><div>This produces the following traceback: <a href="http://paste.yt-project.org/show/5069/">http://paste.yt-project.org/show/5069/</a></div><div><br></div><div>To fix the error, I tried making the following modification to yt: <a href="https://bitbucket.org/ngoldbaum/yt/commits/ccc8424f7310070db04f4416b21262504f4a36d3">https://bitbucket.org/ngoldbaum/yt/commits/ccc8424f7310070db04f4416b21262504f4a36d3</a></div>

<div><br></div><div>Unfortunately this doesn't help because the smoothed covering grid's _fill_fields function never gets called, which means _initialize_level_state never gets called either.  I'm poking around in the smoothed covering grid to try to fix this but any help from someone who's more familiar with this part of the code would be very much appreciated.</div>

<div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 26, 2014 at 1:33 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I'd like to setup deposition fields for particle velocities.  This means doing a mass-weighted nearest neighbor or cloud-in-cell deposition of the particle velocities in a grid dataset.  I'm using this to analyze the stellar velocity dispersions in a simulation, so it's much more convenient to have the particle velocities interpolated onto a grid to calculate the local velocity dispersion using a 3D convolution.</div>


<div><br></div><div>Does anyone have an example of setting up a particle deposition field?  If not, where should I look in the source?</div><div><br></div><div>Thanks for your help!</div><span class="HOEnZb"><font color="#888888"><div>

<br></div><div>-Nathan</div></font></span></div>
</blockquote></div><br></div>