Returning the age of a particle #1443
LukeJMcCartin
started this conversation in
General
Replies: 3 comments
-
Hi, there is a particle property named "age_seconds", see e.g. here: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you very much for your quick reply! I will try that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This worked just as expected. Thank you again. |
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
-
I am interested in returning the age of a particle (i.e. the number of seconds since the particle was released). The function self.time_step.total_seconds() returns the time since the last time step; however, I don't know how to extract the time that has elapsed since the particle was released.
Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions