32 #include "reference.h"
99 #ifdef DEBUG_STABLE_CONES
100 int n_occupied_cells;
hash_element * next
pointer to the next element
base class for dynamic coordinates management
double eta
centre: eta coordinate
hash_cones(int _Np, double _R2)
constructor with initialisation
information on store cones candidates.
double R2
circle radius (squared) NOTE: need to be set before any call to 'insert'
bool is_stable
true if stable w.r.t. "border particles"
int n_cones
number of elements
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.
list of cones candidates.
double phi
centre: phi coordinate
bool is_inside(Cmomentum *centre, Cmomentum *v)
test if a particle is inside a cone of given centre.
references used for checksums.
int mask
number of occupied cells