28 #ifndef __VICINITY_H__
29 #define __VICINITY_H__
101 Cvicinity(std::vector<Cmomentum> &_particle_list);
133 #ifdef USE_QUADTREE_FOR_STABILITY_TEST
void build(Cmomentum *_parent, double _VR)
build the vicinity list from the list of points.
void set_particle_list(std::vector< Cmomentum > &_particle_list)
set the particle_list
double phi
phi coordinate of the center
double cocircular_range
amount by which the angle can be varied while maintaining this point within co-circularity margin
base class for dynamic coordinates management
Cvicinity_elm * ve_list
list of vicinity elements built from particle list (size=2*n)
double pcy
parent centre (phi)
Cmomentum * parent
parent vector
Cvicinity_inclusion()
default ctor
double angle
angle with parent
bool cocirc
flag for particle inclusion in the border
Implementation of a 2D quadtree.
Cmomentum * v
pointer to the second borderline particle
std::vector< Cmomentum > plist
the list of particles
element in the vicinity of a parent.
double pcx
parent centre (eta)
std::vector< Cvicinity_inclusion > pincluded
the inclusion state of particles
a class to keep track of inclusion status in cone and in cocircular region while using minimal resour...
double R2
squared normal radius
std::vector< Cvicinity_elm * > vicinity
list of points in parent's vicinity
unsigned int vicinity_size
number of elements in vicinity
bool side
true if angle on the positive side, false otherwise
double inv_R_2EPS_COCIRC
R / (2*EPSILON_COCIRCULAR)
double VR2
squared radius of the vicinity
void append_to_vicinity(Cmomentum *v)
append a particle to the 'vicinity' list after having tested it and computed the angular-ordering qua...
list of element in the vicinity of a parent.
double eta
eta coordinate of the center
double inv_R_EPS_COCIRC
R / EPSILON_COCIRCULAR.
bool cone
flag for particle inclusion in the cone
~Cvicinity()
default destructor
std::list< Cvicinity_elm * > cocircular
list of elements co-circular with this one NB: empty list uses less mem than vector
double VR
radius of the vicinity
Cvicinity_inclusion * is_inside
variable to tell if the particle is inside or outside the cone
Cvicinity()
default constructor
int n_part
number of particles
The
SISCone project has been developed by
Gavin Salam and
Gregory Soyez
Documentation generated for SISCone by
Doxygen 1.8.17