Template Struct ClusterCell

Struct Documentation

template<class State>
struct ClusterCell

A struct that holds the data of a single cell for the clusterization algorithm.

Public Members

State representative_state

state of a particle that is within the cell

double weight = {0.0}

average weight of the cell

std::size_t num_particles = {0}

number of particles in the cell

std::optional<std::size_t> cluster_id

cluster id of the cell