siscone::Cstable_cones Class Reference

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

#include <protocones.h>

Inheritance diagram for siscone::Cstable_cones:

Inheritance graph
[legend]
Collaboration diagram for siscone::Cstable_cones:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Cstable_cones ()
 default ctor
 Cstable_cones (std::vector< Cmomentum > &_particle_list)
 ctor with initialisation (sse init for details)
 ~Cstable_cones ()
 default dtor
void init (std::vector< Cmomentum > &_particle_list)
 initialisation
int get_stable_cones (double _radius)
 compute stable cones.

Public Attributes

std::vector< Cmomentumprotocones
 list of stable cones
hash_coneshc
 list of candidates
int nb_tot
 total number of tested cones

Protected Attributes

double R
 cone radius
double R2
 cone radius SQUARED


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 82 of file protocones.h.


Member Function Documentation

void siscone::Cstable_cones::init ( std::vector< Cmomentum > &  _particle_list  ) 

initialisation

Parameters:
_particle_list list of particles

int siscone::Cstable_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:
_radius radius of the cones
Returns:
The number of stable cones found is returned

Definition at line 141 of file protocones.cpp.

References siscone::Cvicinity::build(), hc, siscone::Cvicinity::n_part, siscone::Cvicinity::parent, siscone::Cvicinity::plist, protocones, R, R2, and siscone::Cvicinity::vicinity_size.


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 Thu Apr 3 10:22:52 2008 for SISCone by  Doxygen 1.5.5