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: |
0 replies
|
Thank you very much for your quick reply! I will try that. |
0 replies
|
This worked just as expected. Thank you again. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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!
All reactions