Cluster analysis

Input:Output:

This modifier decomposes a particle system into disconnected sets of particles (clusters).

A cluster is defined as a set of connected particles, each of which is within the cutoff distance from one or more other particles from the same cluster. Conversely, two particles will not belong to the same cluster, if there is no continuous path on the neighbor network leading from the first particle to the second.

If a particle has no neighbors at all within the cutoff distance, then it forms a 1-particle cluster.

The modifier writes its results to the Cluster particle property, which stores the cluster each particle is assigned to. Cluster IDs range from 1 to N, where N is the number of clusters found by the modifier.

Parameters

Cutoff radius

The threshold up to which two particles are considered direct neighbors.