[yt-dev] smoothed particle fields

Matthew Turk matthewturk at gmail.com
Mon Apr 11 06:30:50 PDT 2016


Hi Britton,

Yup, this is possible. Take a look at how the nearest neighbor field is
implemented in particle_fields.py for an example.

Matt
On Apr 11, 2016 8:13 AM, "Britton Smith" <brittonsmith at gmail.com> wrote:

Hi everyone,

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?

Thanks,
Britton

_______________________________________________
yt-dev mailing list
yt-dev at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20160411/fda47901/attachment.html>


More information about the yt-dev mailing list