|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
47 namespace energybased {
96 LE =
new std::complex<double>[precision + 1];
97 for (i = 0; i <= precision; i++) {
105 ME =
new std::complex<double>[precision + 1];
106 for (i = 0; i <= precision; i++) {
114 for (i = 0; i <= precision; i++) {
193 std::complex<double>*
ME;
194 std::complex<double>*
LE;
std::complex< double > Sm_center
center of the small cell
std::complex< double > * get_multipole_exp() const
The namespace for all OGDF objects.
List< ParticleInfo > * L_x_ptr
points to the lists that contain each Particle of G with its x(y)coordinate in increasing order
void replace_multipole_exp(Array< std::complex< double >> &multi, int precision)
ME[i] is set to multi[i] for i = 0 to precision and no space for LE is reserved.
void set_child_rb_ptr(QuadTreeNodeNM *c)
void pushBack_contained_nodes(node v)
void set_Sm_level(int level)
Includes declaration of graph class.
QuadTreeNodeNM * get_father_ptr() const
void set_Sm_downleftcorner(DPoint dlc)
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
QuadTreeNodeNM * get_child_rt_ptr() const
void set_multipole_exp(Array< std::complex< double >> &multi, int precision)
ME[i] is set to multi[i] for i = 0 to precision and space for LE is reserved.
QuadTreeNodeNM * child_rb_ptr
points to right bottom child
void set_x_List_ptr(List< ParticleInfo > *x_ptr)
std::complex< double > * ME
Multipole Expansion terms.
void get_contained_nodes(List< node > &list) const
node pop_contained_nodes()
friend std::ostream & operator<<(std::ostream &, const QuadTreeNodeNM &)
Outputstream for QuadTreeNodeNM.
QuadTreeNodeNM()
constructor
DPoint Sm_downleftcorner
coords of the down left corner of the small cell
void set_child_rt_ptr(QuadTreeNodeNM *c)
std::complex< double > * LE
Locale Expansion terms.
int Sm_level
level of the small cell
void set_Sm_boxlength(double len)
void get_D2(List< QuadTreeNodeNM * > &list) const
std::complex< double > get_Sm_center() const
QuadTreeNodeNM * father_ptr
points to the father node
void set_locale_exp(Array< std::complex< double >> &local, int precision)
LE[i] is set to local[i] for i = 0 to precision and space for LE is reserved.
List< QuadTreeNodeNM * > D1
List< ParticleInfo > * get_y_List_ptr()
double get_Sm_boxlength() const
bool contained_nodes_empty()
List< QuadTreeNodeNM * > I
the list of min.
void set_contained_nodes(List< node > &list)
The parameterized class Array implements dynamic arrays of type E.
List< QuadTreeNodeNM * > M
list of nodes with multipole force contribution like in DIM2
double Sm_boxlength
length of small cell
void set_I(List< QuadTreeNodeNM * > &list)
Doubly linked lists (maintaining the length of the list).
Helping data structure that stores the information needed to represent a node of the reduced quad tre...
void set_particlenumber_in_subtree(int p)
void set_child_lt_ptr(QuadTreeNodeNM *c)
std::complex< double > * get_local_exp() const
QuadTreeNodeNM * get_child_lt_ptr() const
List< node > contained_nodes
list of nodes of G that are contained in this QuadTreeNode (emty if it is not a leave of the ModQuadT...
~QuadTreeNodeNM()
destructor
friend std::istream & operator>>(std::istream &, QuadTreeNodeNM &)
Inputstream for QuadTreeNodeNM.
void get_I(List< QuadTreeNodeNM * > &list) const
int subtreeparticlenumber
the number of particles in the subtree rooted at this node
void get_M(List< QuadTreeNodeNM * > &list) const
List< ParticleInfo > * get_x_List_ptr()
List< QuadTreeNodeNM * > D2
list of neighbouring(=D1) and not adjacent(=D2) leaves for direct force calculation in DIM2
void set_Sm_center(std::complex< double > c)
QuadTreeNodeNM * get_child_lb_ptr() const
Declaration and implementation of Array class and Array algorithms.
void get_D1(List< QuadTreeNodeNM * > &list) const
int get_particlenumber_in_subtree() const
QuadTreeNodeNM * child_rt_ptr
points to right bottom child
QuadTreeNodeNM * child_lt_ptr
points to left top child
Declaration of doubly linked lists and iterators.
void set_D2(List< QuadTreeNodeNM * > &list)
QuadTreeNodeNM * child_lb_ptr
points to left bottom child
void set_y_List_ptr(List< ParticleInfo > *y_ptr)
Class for the representation of nodes.
DPoint get_Sm_downleftcorner() const
List< ParticleInfo > * L_y_ptr
and a cross reference to the list_item in the list with the other coordinate
QuadTreeNodeNM * get_child_rb_ptr() const
void set_father_ptr(QuadTreeNodeNM *f)
void set_M(List< QuadTreeNodeNM * > &list)
void set_child_lb_ptr(QuadTreeNodeNM *c)
void set_D1(List< QuadTreeNodeNM * > &list)