Particle ID
#541
Replies: 2 comments
-
ID values are tricky in EPOCH - to save computational cost, I think particle ID values are only assigned just before an output dump. To set particle IDs, you can use something like this:
Cheers, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks Stuart, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When i try to output each particle ID i set in Makefile
DEFINES += $(D)PARTICLE_ID
(and for ionization also uncheck
DEFINES += $(D)PER_PARTICLE_CHARGE_MASS )
which are by default commented and for ID use
ID111 = current%ID
in diagnostics.f90. Here is entire code which works for other variables OK:
All IDs though are equal zero. What i do wrong?
Beta Was this translation helpful? Give feedback.
All reactions