|
SISCone
2.0.6
|
list of element in the vicinity of a parent. More...
#include <vicinity.h>


Public Member Functions | |
| 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 | |
| CSphmomentum * | parent |
| 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< CSphmomentum > | plist |
| the list of particles | |
| std::vector< siscone::Cvicinity_inclusion > | pincluded |
| the inclusion state of particles | |
| CSphvicinity_elm * | ve_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 Member Functions | |
| void | append_to_vicinity (CSphmomentum *v) |
| append a particle to the 'vicinity' list after having tested it and computed the angular-ordering quantities More... | |
Protected Attributes | |
| CSph3vector | parent_centre |
| parent centre | |
| CSph3vector | angular_dir1 |
| main direction to measure angles | |
| CSph3vector | angular_dir2 |
| second direction to measure angles (sign) | |
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 83 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 234 of file vicinity.cpp.
References siscone_spherical::CSph3vector::_norm, siscone_spherical::CSph3vector::build_norm(), and siscone_spherical::CSphmomentum::index.
| void siscone_spherical::CSphvicinity::build | ( | CSphmomentum * | _parent, |
| double | _VR | ||
| ) |
build the vicinity list from the list of points.
| _parent | reference particle |
| _VR | vicinity radius |
Definition at line 177 of file vicinity.cpp.
References EPSILON_COCIRCULAR.
Referenced by siscone_spherical::CSphstable_cones::get_stable_cones().
| void siscone_spherical::CSphvicinity::set_particle_list | ( | std::vector< CSphmomentum > & | _particle_list | ) |
set the particle_list
| _particle_list | list of particles (type CSphmomentum) |
Definition at line 105 of file vicinity.cpp.
Referenced by siscone_spherical::CSphstable_cones::init().