Dear wonderful YT genii, Within the star particle routine I am using, when star particles merge they are kept and have mass set to tiny_mass rather than being deleted. This makes keeping track of specific particles easier but makes plotting harder. Does anyone have any good ideas for how to modify or create a new p.modify["particles"] that will only plot particles above a certain mass? many thanks, Libby -- Elizabeth Harper-Clark MA MSci PhD Candidate, Astrophysics, UofT www.astro.utoronto.ca/~h-clark h-clark@cita.utoronto.ca AIM: edphc1 MSN: edphc1@hotmail.com Skype: eharperclark Office phone: 416-978-5759
Hi Libby, I've added a minimum_mass argument in r1729 to trunk for the "particles" callback. It expects it to be in Msun, but otherwise should do what you want. :) Let me know if this doesn't work out! -Matt On Sun, May 23, 2010 at 1:45 PM, Elizabeth Harper-Clark <h-clark@astro.utoronto.ca> wrote:
Dear wonderful YT genii,
Within the star particle routine I am using, when star particles merge they are kept and have mass set to tiny_mass rather than being deleted. This makes keeping track of specific particles easier but makes plotting harder. Does anyone have any good ideas for how to modify or create a new p.modify["particles"] that will only plot particles above a certain mass?
many thanks,
Libby
-- Elizabeth Harper-Clark MA MSci PhD Candidate, Astrophysics, UofT
www.astro.utoronto.ca/~h-clark h-clark@cita.utoronto.ca AIM: edphc1 MSN: edphc1@hotmail.com Skype: eharperclark Office phone: 416-978-5759
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Elizabeth Harper-Clark
-
Matthew Turk