SISCone
3.0.5
|
list of element in the vicinity of a parent. More...
#include <vicinity.h>
Public Member Functions | |
Cvicinity () | |
default constructor | |
Cvicinity (std::vector< Cmomentum > &_particle_list) | |
constructor with initialisation (see set_particle_list) | |
~Cvicinity () | |
default destructor | |
void | set_particle_list (std::vector< Cmomentum > &_particle_list) |
set the particle_list More... | |
void | build (Cmomentum *_parent, double _VR) |
build the vicinity list from the list of points. More... | |
Public Attributes | |
Cmomentum * | parent |
parent vector | |
double | VR |
radius of the vicinity | |
double | VR2 |
squared radius of the vicinity | |
double | R |
normal radius | |
double | R2 |
squared normal radius | |
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< Cmomentum > | plist |
the list of particles | |
std::vector< Cvicinity_inclusion > | pincluded |
the inclusion state of particles | |
Cvicinity_elm * | ve_list |
list of vicinity elements built from particle list (size=2*n) | |
std::vector< Cvicinity_elm * > | vicinity |
list of points in parent's vicinity | |
unsigned int | vicinity_size |
number of elements in vicinity | |
Protected Member Functions | |
void | append_to_vicinity (Cmomentum *v) |
append a particle to the 'vicinity' list after having tested it and computed the angular-ordering quantities More... | |
Protected Attributes | |
double | pcx |
parent centre (eta) | |
double | pcy |
parent centre (phi) | |
list of element in the vicinity of a parent.
class used to manage the points which are in the vicinity of a parent point.
Definition at line 95 of file vicinity.h.
|
protected |
append a particle to the 'vicinity' list after having tested it and computed the angular-ordering quantities
v | vector to test |
Definition at line 220 of file vicinity.cpp.
References siscone::Cmomentum::eta, siscone::Cmomentum::index, siscone::Cmomentum::phi, and twopi.
void siscone::Cvicinity::build | ( | Cmomentum * | _parent, |
double | _VR | ||
) |
build the vicinity list from the list of points.
_parent | reference particle |
_VR | vicinity radius |
Definition at line 176 of file vicinity.cpp.
References EPSILON_COCIRCULAR.
Referenced by siscone::Cstable_cones::get_stable_cones().
void siscone::Cvicinity::set_particle_list | ( | std::vector< Cmomentum > & | _particle_list | ) |
set the particle_list
_particle_list | list of particles (type Cmomentum) |
Definition at line 103 of file vicinity.cpp.
Referenced by siscone::Cstable_cones::init().