SISCone  2.0.6
Public Member Functions | Public Attributes | Protected Attributes | List of all members
siscone_spherical::CSphstable_cones Class Reference

Computes the list of stable comes from a particle list. More...

#include <protocones.h>

Inheritance diagram for siscone_spherical::CSphstable_cones:
Inheritance graph
[legend]
Collaboration diagram for siscone_spherical::CSphstable_cones:
Collaboration graph
[legend]

Public Member Functions

 CSphstable_cones ()
 default ctor
 
 CSphstable_cones (std::vector< CSphmomentum > &_particle_list)
 ctor with initialisation (sse init for details)
 
 ~CSphstable_cones ()
 default dtor
 
void init (std::vector< CSphmomentum > &_particle_list)
 initialisation More...
 
int get_stable_cones (double _radius)
 compute stable cones. More...
 
- Public Member Functions inherited from siscone_spherical::CSphvicinity
 CSphvicinity ()
 default constructor
 
 CSphvicinity (std::vector< CSphmomentum > &_particle_list)
 constructor with initialisation (see set_particle_list)
 
 ~CSphvicinity ()
 default destructor
 
void set_particle_list (std::vector< CSphmomentum > &_particle_list)
 set the particle_list More...
 
void build (CSphmomentum *_parent, double _VR)
 build the vicinity list from the list of points. More...
 

Public Attributes

std::vector< CSphmomentumprotocones
 list of stable cones
 
sph_hash_coneshc
 list of candidates
 
int nb_tot
 total number of tested cones
 
- Public Attributes inherited from siscone_spherical::CSphvicinity
CSphmomentumparent
 parent vector
 
double VR
 radius of the vicinity
 
double VR2
 squared radius of the vicinity
 
double cosVR
 cosine of the radius of the vicinity
 
double R
 normal radius
 
double R2
 squared normal radius
 
double tan2R
 squared tangent of the normal radius
 
double D2_R
 euclidian distance (squared) corresp. to the arc R
 
double inv_R_EPS_COCIRC
 R / EPSILON_COCIRCULAR.
 
double inv_R_2EPS_COCIRC
 R / (2*EPSILON_COCIRCULAR)
 
int n_part
 number of particles
 
std::vector< CSphmomentumplist
 the list of particles
 
std::vector< siscone::Cvicinity_inclusionpincluded
 the inclusion state of particles
 
CSphvicinity_elmve_list
 list of vicinity elements built from particle list (size=2*n)
 
std::vector< CSphvicinity_elm * > vicinity
 list of points in parent's vicinity
 
unsigned int vicinity_size
 number of elements in vicinity
 

Protected Attributes

double R
 cone radius
 
double R2
 cone radius SQUARED
 
double tan2R
 squared tangent of the cone radius
 
- Protected Attributes inherited from siscone_spherical::CSphvicinity
CSph3vector parent_centre
 parent centre
 
CSph3vector angular_dir1
 main direction to measure angles
 
CSph3vector angular_dir2
 second direction to measure angles (sign)
 

Additional Inherited Members

- Protected Member Functions inherited from siscone_spherical::CSphvicinity
void append_to_vicinity (CSphmomentum *v)
 append a particle to the 'vicinity' list after having tested it and computed the angular-ordering quantities More...
 

Detailed Description

Computes the list of stable comes from a particle list.

This class does the first fundamental task of te cone algorithm: it is used to compute the list of stable cones given a list of particles.

Definition at line 89 of file protocones.h.

Member Function Documentation

int siscone_spherical::CSphstable_cones::get_stable_cones ( double  _radius)

compute stable cones.

This function really does the job i.e. computes the list of stable cones (in a seedless way)

Parameters
_radiusradius of the cones
Returns
The number of stable cones found is returned

Definition at line 143 of file protocones.cpp.

References siscone_spherical::CSph3vector::_phi, siscone_spherical::CSph3vector::_theta, siscone_spherical::CSphvicinity::build(), hc, siscone_spherical::CSphvicinity::n_part, siscone_spherical::CSphvicinity::parent, siscone_spherical::CSphvicinity::plist, protocones, R, R2, tan2R, and siscone_spherical::CSphvicinity::vicinity_size.

void siscone_spherical::CSphstable_cones::init ( std::vector< CSphmomentum > &  _particle_list)

initialisation

Parameters
_particle_listlist of particles

Definition at line 116 of file protocones.cpp.

References hc, protocones, and siscone_spherical::CSphvicinity::set_particle_list().

Referenced by siscone_spherical::CSphsiscone::compute_jets().


The documentation for this class was generated from the following files:
The SISCone project has been developed by Gavin Salam and Gregory Soyez
Documentation generated on Fri Feb 5 2016 10:03:56 for SISCone by  Doxygen 1.8.9.1