How to determine whether a particle belong to a certain region?

Submitted by Rachel on Sat, 08/18/2018 - 00:28

Hi all,

I want to delete a certain fraction of particles in a region. I use the command "delete_atoms porosity" to realize this function.

From the documentation, I notice that 10% of particles inside a given region will be deleted if I use "delete_atoms porosity cube 0.1 123457". I am just not sure how to determine whether a particle belongs to the region? Based on the centre of the particle or based on othere criteria? Thanks.

Best,
Rachel