30 #ifndef __SPH_HASH_H__
31 #define __SPH_HASH_H__
97 #ifdef DEBUG_STABLE_CONES
int mask
number of occupied cells
~sph_hash_cones()
destructor
CSph3vector centre
centre of the cone
sph_hash_element * next
pointer to the next element
int insert(CSphmomentum *v, CSphmomentum *parent, CSphmomentum *child, bool p_io, bool c_io)
insert a new candidate into the hash.
int n_cones
number of elements
sph_hash_cones(int _Np, double _radius)
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"
sph_hash_element ** hash_array
the cone data itself
double tan2R
its squreed tangent
base class for dynamic coordinates management
list of cones candidates.
base class for managing the spatial part of Cmomentum (defined after)
information on store cones candidates.