<div dir="ltr"><div>Hi Bili,<br></div><div>1 . I wrote an example script that does some of the things you want in question 1 here </div><div><br></div>







<div><a href="http://paste.yt-project.org/show/5727/">http://paste.yt-project.org/show/5727/</a></div><div><br></div><div>2. When you load the octree, you can change the threshold number of particles necessary for refinment by :</div><div><p>ds = load(filename, n_ref = 32)</p><p>Not sure about 3 or 4, but I think the answer is that the kernel is hardcoded in.</p><p><br></p><p>-d</p></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 20, 2015 at 4:56 PM, Bili Dong <span dir="ltr"><<a href="mailto:qobilidop@gmail.com" target="_blank">qobilidop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Hi yt users,<div><br></div><div>Recently I started using yt to analyze a Gadget-like data (one of the main difference being a different kernel function).  I’ve got several questions about the fields depostion mechanism:</div><div><br></div><div>1. How do I get the information of the underlying mesh onto which the fields are deposited?</div><div>2. Can I specify the properties of the underlying mesh? If so, how?</div><div>3. Can I customize the smoothing process, like using a different smoothing kernel? </div><div>4. I’m looking into the file yt/geometry/particle_smooth.pyx to learn the implementation details of the smoothing process. But for me, the code is not easy to read. So I’m wondering if there are further documentations I could refer to? (The only relevant doc I find for now is <a href="http://yt-project.org/docs/dev/analyzing/fields.html#general-particle-fields" target="_blank">this one</a>)</div><div><br></div><div>I’m new to yt, so these questions might be dumb. Sorry for wasting your time if that’s the case.</div><div><br></div><div>Thanks,</div><div>Bili</div><div><br></div><div><br></div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div>