Check that the particles are not at the same positions
FT 1.9.2021
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | npart |
Number of particles |
||
double precision, | intent(in), | DIMENSION(3,npart) | :: | pos |
Array of particle positions |
|
logical, | intent(in), | optional | :: | debug |
|
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | itr |
Iterator |
|||
integer, | private | :: | itr2 |
Iterator |
|||
integer, | private | :: | x_idx |
Index at which a new value of the coordinate appears,
in the array |
|||
integer, | private, | DIMENSION(:), ALLOCATABLE | :: | x_number |
Array storing, for each coordinate, the number of particles having that coordinate |
||
integer, | private, | DIMENSION(:), ALLOCATABLE | :: | x_sort |
Array storing the sorted indices of array |