OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
mslang::QuadTree Struct Reference

#include <QuadTree.h>

Collaboration diagram for mslang::QuadTree:

Public Member Functions

 QuadTree ()
 QuadTree (int l, const BoundingBox2D &b)
 QuadTree (const QuadTree &right)
 ~QuadTree ()
void reset ()
void operator= (const QuadTree &right)
void transferIfInside (std::list< std::shared_ptr< Base > > &objs)
void buildUp ()
void writeGnuplot (std::ostream &out) const
bool isInside (const Vector_t< double, 3 > &R) const
void getDepth (unsigned int &d) const

Public Attributes

int level_m
std::list< std::shared_ptr< Base > > objects_m
BoundingBox2D bb_m
std::vector< std::shared_ptr< QuadTree > > nodes_m

Detailed Description

Definition at line 9 of file QuadTree.h.

Constructor & Destructor Documentation

◆ QuadTree() [1/3]

mslang::QuadTree::QuadTree ( )
inline

Definition at line 15 of file QuadTree.h.

References bb_m, level_m, and nodes_m.

Referenced by buildUp(), operator=(), and QuadTree().

Here is the caller graph for this function:

◆ QuadTree() [2/3]

mslang::QuadTree::QuadTree ( int l,
const BoundingBox2D & b )
inline

Definition at line 21 of file QuadTree.h.

References bb_m, level_m, and nodes_m.

◆ QuadTree() [3/3]

mslang::QuadTree::QuadTree ( const QuadTree & right)

Definition at line 5 of file QuadTree.cpp.

References bb_m, begin(), end(), level_m, nodes_m, objects_m, and QuadTree().

Here is the call graph for this function:

◆ ~QuadTree()

mslang::QuadTree::~QuadTree ( )

Definition at line 19 of file QuadTree.cpp.

References nodes_m, objects_m, and ~QuadTree().

Referenced by ~QuadTree().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ buildUp()

void mslang::QuadTree::buildUp ( )

Definition at line 58 of file QuadTree.cpp.

References bb_m, buildUp(), level_m, nodes_m, objects_m, and QuadTree().

Referenced by buildUp().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDepth()

void mslang::QuadTree::getDepth ( unsigned int & d) const

Definition at line 124 of file QuadTree.cpp.

References getDepth(), level_m, and nodes_m.

Referenced by getDepth().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isInside()

bool mslang::QuadTree::isInside ( const Vector_t< double, 3 > & R) const

Definition at line 104 of file QuadTree.cpp.

References bb_m, isInside(), nodes_m, and objects_m.

Referenced by isInside().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void mslang::QuadTree::operator= ( const QuadTree & right)

Definition at line 32 of file QuadTree.cpp.

References bb_m, level_m, nodes_m, objects_m, operator=(), and QuadTree().

Referenced by operator=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset()

void mslang::QuadTree::reset ( )

Definition at line 27 of file QuadTree.cpp.

References nodes_m, objects_m, and reset().

Referenced by reset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transferIfInside()

void mslang::QuadTree::transferIfInside ( std::list< std::shared_ptr< Base > > & objs)

Definition at line 48 of file QuadTree.cpp.

References bb_m, objects_m, and transferIfInside().

Referenced by transferIfInside().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeGnuplot()

void mslang::QuadTree::writeGnuplot ( std::ostream & out) const

Definition at line 91 of file QuadTree.cpp.

References bb_m, level_m, nodes_m, objects_m, and writeGnuplot().

Referenced by writeGnuplot().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bb_m

BoundingBox2D mslang::QuadTree::bb_m

◆ level_m

int mslang::QuadTree::level_m

Definition at line 10 of file QuadTree.h.

Referenced by buildUp(), getDepth(), operator=(), QuadTree(), QuadTree(), QuadTree(), and writeGnuplot().

◆ nodes_m

std::vector<std::shared_ptr<QuadTree> > mslang::QuadTree::nodes_m

◆ objects_m

std::list<std::shared_ptr<Base> > mslang::QuadTree::objects_m

The documentation for this struct was generated from the following files: