99#ifdef DEBUG_STABLE_CONES
100 int n_occupied_cells;
base class for dynamic coordinates management
references used for checksums.
list of cones candidates.
int mask
number of occupied cells
hash_element ** hash_array
the cone data itself
int insert(Cmomentum *v, Cmomentum *parent, Cmomentum *child, bool p_io, bool c_io)
insert a new candidate into the hash.
double R2
circle radius (squared) NOTE: need to be set before any call to 'insert'
int n_cones
number of elements
bool is_inside(Cmomentum *centre, Cmomentum *v)
test if a particle is inside a cone of given centre.
hash_cones(int _Np, double _R2)
constructor with initialisation
information on store cones candidates.
hash_element * next
pointer to the next element
bool is_stable
true if stable w.r.t. "border particles"
double eta
centre: eta coordinate
double phi
centre: phi coordinate