34namespace siscone_spherical{
53#ifdef DEBUG_STABLE_CONES
61 int nbits = (int) (log(_Np*_radius*_radius*_Np/4.0)/log(2.0));
71 for (i=0;i<
mask+1;i++)
84 for (i=0;i<
mask+1;i++){
112#ifdef DEBUG_STABLE_CONES
unsigned int ref[3]
actual data for the reference
siscone::Creference ref
reference number for the vector
base class for dynamic coordinates management
sph_hash_element ** hash_array
the cone data itself
int mask
number of occupied cells
double tan2R
its squreed tangent
int insert(CSphmomentum *v, CSphmomentum *parent, CSphmomentum *child, bool p_io, bool c_io)
insert a new candidate into the hash.
sph_hash_cones(int _Np, double _radius)
int n_cones
number of elements
~sph_hash_cones()
destructor
information on store cones candidates.
sph_hash_element * next
pointer to the next element
CSph3vector centre
centre of the cone
bool is_stable
true if stable w.r.t. "border particles"