41 namespace energybased {
80 LE =
new std::complex<double> [precision+1];
81 for (i = 0 ; i<= precision; i++)
89 ME =
new std::complex<double> [precision+1];
90 for (i = 0 ; i<= precision; i++)
98 for (i = 0 ; i<= precision; i++)
148 std::complex<double>*
ME;
149 std::complex<double>*
LE;
std::complex< double > * get_multipole_exp() const
void set_child_rb_ptr(QuadTreeNodeNM *c)
List< ParticleInfo > * L_x_ptr
points to the lists that contain each Particle of G with its x(y)coordinate in increasing order ...
void set_Sm_level(int level)
QuadTreeNodeNM()
constructor
The parameterized class Array implements dynamic arrays of type E.
void get_D1(List< QuadTreeNodeNM *> &list) const
QuadTreeNodeNM * get_child_lb_ptr() const
void set_y_List_ptr(List< ParticleInfo > *y_ptr)
node pop_contained_nodes()
void pushBack_contained_nodes(node v)
friend std::ostream & operator<<(std::ostream &, const QuadTreeNodeNM &)
Outputstream for QuadTreeNodeNM.
void get_D2(List< QuadTreeNodeNM *> &list) const
void set_D1(List< QuadTreeNodeNM *> &list)
DPoint Sm_downleftcorner
coords of the down left corner of the small cell
void set_Sm_boxlength(double len)
void set_contained_nodes(List< node > &list)
std::complex< double > * ME
Multipole Expansion terms.
void set_particlenumber_in_subtree(int p)
bool contained_nodes_empty()
void get_I(List< QuadTreeNodeNM *> &list) const
int subtreeparticlenumber
the number of particles in the subtree rooted at this node
void set_x_List_ptr(List< ParticleInfo > *x_ptr)
void set_child_lt_ptr(QuadTreeNodeNM *c)
QuadTreeNodeNM * get_child_lt_ptr() const
std::complex< double > * LE
Locale Expansion terms.
void set_child_lb_ptr(QuadTreeNodeNM *c)
List< QuadTreeNodeNM * > D2
list of neighbouring(=D1) and not adjacent(=D2) leaves for direct force calculation in DIM2 ...
~QuadTreeNodeNM()
destructor
List< QuadTreeNodeNM * > I
the list of min.
DPoint get_Sm_downleftcorner() const
std::complex< double > get_Sm_center() const
Helping data structure that stores the information needed to represent a node of the reduced quad tre...
double Sm_boxlength
length of small cell
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 * child_lb_ptr
points to left bottom child
QuadTreeNodeNM * get_father_ptr() const
void set_father_ptr(QuadTreeNodeNM *f)
Doubly linked lists (maintaining the length of the list).
List< ParticleInfo > * get_x_List_ptr()
List< ParticleInfo > * L_y_ptr
and a cross reference to the list_item in the list with the other coordinate
QuadTreeNodeNM * child_rt_ptr
points to right bottom child
double get_Sm_boxlength() const
void set_I(List< QuadTreeNodeNM *> &list)
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.
Class for the representation of nodes.
void set_child_rt_ptr(QuadTreeNodeNM *c)
int Sm_level
level of the small cell
void set_Sm_downleftcorner(DPoint dlc)
void set_D2(List< QuadTreeNodeNM *> &list)
void set_Sm_center(std::complex< double > c)
void get_contained_nodes(List< node > &list) const
Declaration of class ParticleInfo.
QuadTreeNodeNM * get_child_rt_ptr() const
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.
Includes declaration of graph class.
void set_M(List< QuadTreeNodeNM *> &list)
QuadTreeNodeNM * child_lt_ptr
points to left top child
List< QuadTreeNodeNM * > M
list of nodes with multipole force contribution like in DIM2
void get_M(List< QuadTreeNodeNM *> &list) const
friend std::istream & operator>>(std::istream &, QuadTreeNodeNM &)
Inputstream for QuadTreeNodeNM.
The namespace for all OGDF objects.
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment, DPolygon, DRect, DIntersectableRect.
QuadTreeNodeNM * child_rb_ptr
points to right bottom child
std::complex< double > Sm_center
center of the small cell
int get_particlenumber_in_subtree() const
std::complex< double > * get_local_exp() const
QuadTreeNodeNM * father_ptr
points to the father node
Declaration of doubly linked lists and iterators.
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.
QuadTreeNodeNM * get_child_rb_ptr() const
List< QuadTreeNodeNM * > D1
List< ParticleInfo > * get_y_List_ptr()