Hello,
I have recently completed the EDEM API tutorial on particle replacement and would like to understand the underlying mechanism on how EDEM decides if the particles are removed and replaced. I have read through the code and would like to understand if the criterion for deciding whether the particles are removed are the particle type and current EDEM simulation time? I have attached what I understand to be the main code for the removal criterion here.

Thank you
Regards,
Megan