14 May
2013
14 May
'13
11:21 a.m.
Hi all, I have star particles in enzo simulations. Counting the particles by creation time and type gave different results. Is it a problem with Yt or comes from simulation? Any ideas? star_particles = dd["creation_time"] > 0.0 print "Number of star particles by creation time", star_particles.sum() star_particles = dd["particle_type"] == 2 print "Number of star particles by type", star_particles.sum() Number of star particles by creation time 3818 Number of star particles by type 0 thanks in advance, Cheers Latif
3972
Age (days ago)
3972
Last active (days ago)
2 comments
2 participants
participants (2)
-
Latif
-
Matthew Turk