Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | npart | |||
double precision, | intent(in), | DIMENSION(3,npart) | :: | pos | ||
double precision, | intent(in), | DIMENSION(3) | :: | pos_a |
Return the number of times that pos_a appears in the array pos
This algorithm scales as O(npart**2) if used in a loop over the particles... To be documented, after it's fixed