<p dir="ltr">Hi Britton,</p>
<p dir="ltr">Yup, this is possible. Take a look at how the nearest neighbor field is implemented in particle_fields.py for an example.</p>
<p dir="ltr">Matt</p>
<div class="gmail_quote">On Apr 11, 2016 8:13 AM, "Britton Smith" <<a href="mailto:brittonsmith@gmail.com">brittonsmith@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi everyone,<div><br></div><div>Please forgive my ignorance on this question.  Is it possible to create a smoothed field that has the same shape as a particle field?  Specifically, I would like to create a density field that is as close to how SPH codes calculate densities for each particle.  I believe this would involve evaluating smoothing kernels at particle positions instead of octree cell centers as we do with deposited fields.  If this is not possible, does anyone have any thoughts on how this might be implemented?</div><div><br></div><div>Thanks,</div><div>Britton</div></div>
<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" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div>