<div dir="ltr">no problem.  note - you might need to set a bounding box on the load command similar to this cook book example.<div><br></div><div><a href="http://yt-project.org/doc/cookbook/gadget_notebook.html">http://yt-project.org/doc/cookbook/gadget_notebook.html</a><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 2:42 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Desika,<br>
<br>
Thanks for your help!<br>
<br>
Regards,<br>
Bili<br>
<span class=""><br>
> On Jul 20, 2015, at 7:19 PM, Desika Narayanan <<a href="mailto:dnarayan@haverford.edu">dnarayan@haverford.edu</a>> wrote:<br>
><br>
><br>
> Hi Bili,<br>
> 1 . I wrote an example script that does some of the things you want in<br>
> question 1 here<br>
><br>
> <a href="http://paste.yt-project.org/show/5727/" rel="noreferrer" target="_blank">http://paste.yt-project.org/show/5727/</a><br>
><br>
</span><span class="">> 2. When you load the octree, you can change the threshold number of<br>
> particles necessary for refinment by :<br>
><br>
> ds = load(filename, n_ref = 32)<br>
><br>
> Not sure about 3 or 4, but I think the answer is that the kernel is<br>
> hardcoded in.<br>
><br>
><br>
> -d<br>
><br>
</span><span class="">> On Mon, Jul 20, 2015 at 4:56 PM, Bili Dong <<a href="mailto:qobilidop@gmail.com">qobilidop@gmail.com</a>> wrote:<br>
><br>
>> Hi yt users,<br>
>><br>
>> Recently I started using yt to analyze a Gadget-like data (one of the main<br>
</span>>> difference being a different kernel function).  I?ve got several questions<br>
<span class="">>> about the fields depostion mechanism:<br>
>><br>
>> 1. How do I get the information of the underlying mesh onto which the<br>
>> fields are deposited?<br>
>> 2. Can I specify the properties of the underlying mesh? If so, how?<br>
>> 3. Can I customize the smoothing process, like using a different smoothing<br>
>> kernel?<br>
</span>>> 4. I?m looking into the file yt/geometry/particle_smooth.pyx to learn the<br>
<span class="">>> implementation details of the smoothing process. But for me, the code is<br>
</span>>> not easy to read. So I?m wondering if there are further documentations I<br>
>> could refer to? (The only relevant doc I find for now is this one<br>
>> <<a href="http://yt-project.org/docs/dev/analyzing/fields.html#general-particle-fields" rel="noreferrer" target="_blank">http://yt-project.org/docs/dev/analyzing/fields.html#general-particle-fields</a>><br>
>> )<br>
>><br>
>> I?m new to yt, so these questions might be dumb. Sorry for wasting your<br>
>> time if that?s the case.<br>
<span class="">>><br>
>> Thanks,<br>
>> Bili<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> yt-users mailing list<br>
</span>>> <a href="mailto:yt-users@lists.spacepope.org">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>
>><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">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>
><br>
<br>
<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">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>
</blockquote></div><br></div>