<div dir="ltr"><div>Thanks a lot!<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-16 15:23 GMT-04:00 Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Excuse me, you're right - dark matter is particle type 1. These are all defined in the enzo source code, right here:</div><div><br></div><div><a href="https://bitbucket.org/enzo/enzo-dev/src/787a66541d9f454e1796a103edf006145b32d244/src/enzo/macros_and_parameters.h?at=week-of-code&fileviewer=file-view-default#macros_and_parameters.h-467" target="_blank">https://bitbucket.org/enzo/<wbr>enzo-dev/src/<wbr>787a66541d9f454e1796a103edf006<wbr>145b32d244/src/enzo/macros_<wbr>and_parameters.h?at=week-of-<wbr>code&fileviewer=file-view-<wbr>default#macros_and_parameters.<wbr>h-467</a></div><div><br></div><div>Enzo doesn't have gas particles so (even though it gets an entry as particle type 0 in that file) in practice there aren't any gas particles in any real Enzo output. Instead the gas fields are defined on the Enzo AMR mesh.</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Oct 16, 2017 at 2:17 PM, tyuta <span dir="ltr"><<a href="mailto:y0u1t1a5.t@gmail.com" target="_blank">y0u1t1a5.t@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear yt users,<div><br></div><div>Hi, I want to know about particle filters. I learned that I can specify some particle type by doing like this:</div><div><br></div><div><div>def stars(pfilter, data):</div><div>    filter = data[(pfilter.filtered_type, "particle_type")] == 2</div><div>    return filter</div></div><div><br></div><div>I learned that the filter for star is No.2 from this example. What about other particles like gas or dark matter ? (Nathan kindly told me that dark matter is 0, but fragmentary information I got from google search suggest that it's 1, so I'm confused...) Is there any good documentation for this?</div><div>I'm working with Enzo data.</div><div><br></div><div>Best,</div><div>Y.T.</div><div><br></div></div>
<br></div></div>______________________________<wbr>_________________<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/lis<wbr>tinfo.cgi/yt-users-spacepope.<wbr>org</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<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/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br></blockquote></div><br></div>