30 #ifndef __SPH_PROTOCONES_H__
31 #define __SPH_PROTOCONES_H__
42 namespace siscone_spherical{
61 angle = atan2(dot_product3(diff, angl_dir2), dot_product3(diff, angl_dir1));
62 #ifdef DEBUG_STABLE_CONES
63 std::cout <<
" adding point " << momentum->
_theta <<
", " << momentum->
_phi
64 <<
" at an angle of " <<
angle << std::endl;
104 void init(std::vector<CSphmomentum> &_particle_list);
123 #ifdef DEBUG_STABLE_CONES
124 int nb_hash_cones, nb_hash_occupied;
149 unsigned int centre_idx;
152 unsigned int first_cone;
180 void prepare_cocircular_lists();
189 bool cocircular_check();
195 void test_cone_cocircular(
CSphmomentum & borderless_cone,
196 std::list<CSphmomentum *> & border_list);
205 const std::vector<CSphborder_store> & border_vect);
213 void compute_cone_contents();
220 void recompute_cone_contents();
228 void recompute_cone_contents_if_needed(
CSphmomentum & this_cone,
double & this_dpt);
235 int proceed_with_stability();
251 std::vector<CSphmomentum*> child_list;
255 std::vector< std::pair<siscone::Creference,siscone::Creference> > multiple_centre_done;