#include <quadtree.hpp>
|
| QuadTree (ScalarType *inp_data, int N) |
|
| QuadTree (ScalarType *inp_data, ScalarType inp_x, ScalarType inp_y, ScalarType inp_hw, ScalarType inp_hh) |
|
| QuadTree (ScalarType *inp_data, int N, ScalarType inp_x, ScalarType inp_y, ScalarType inp_hw, ScalarType inp_hh) |
|
| QuadTree (QuadTree *inp_parent, ScalarType *inp_data, int N, ScalarType inp_x, ScalarType inp_y, ScalarType inp_hw, ScalarType inp_hh) |
|
| QuadTree (QuadTree *inp_parent, ScalarType *inp_data, ScalarType inp_x, ScalarType inp_y, ScalarType inp_hw, ScalarType inp_hh) |
|
| ~QuadTree () |
|
void | setData (ScalarType *inp_data) |
|
QuadTree * | getParent () |
|
bool | insert (int new_index) |
|
void | subdivide () |
|
bool | isCorrect () |
|
void | rebuildTree () |
|
void | getAllIndices (int *indices) |
|
int | getDepth () |
|
void | computeNonEdgeForces (int point_index, ScalarType theta, ScalarType neg_f[], ScalarType *sum_Q) |
|
void | computeEdgeForces (int *row_P, int *col_P, ScalarType *val_P, int N, ScalarType *pos_f) |
|
void | print () |
|
Definition at line 67 of file quadtree.hpp.
◆ QuadTree() [1/6]
QuadTree |
( |
ScalarType * |
inp_data, |
|
|
int |
N |
|
) |
| |
◆ QuadTree() [2/6]
QuadTree |
( |
ScalarType * |
inp_data, |
|
|
ScalarType |
inp_x, |
|
|
ScalarType |
inp_y, |
|
|
ScalarType |
inp_hw, |
|
|
ScalarType |
inp_hh |
|
) |
| |
◆ QuadTree() [3/6]
QuadTree |
( |
ScalarType * |
inp_data, |
|
|
int |
N, |
|
|
ScalarType |
inp_x, |
|
|
ScalarType |
inp_y, |
|
|
ScalarType |
inp_hw, |
|
|
ScalarType |
inp_hh |
|
) |
| |
◆ QuadTree() [4/6]
QuadTree |
( |
QuadTree * |
inp_parent, |
|
|
ScalarType * |
inp_data, |
|
|
int |
N, |
|
|
ScalarType |
inp_x, |
|
|
ScalarType |
inp_y, |
|
|
ScalarType |
inp_hw, |
|
|
ScalarType |
inp_hh |
|
) |
| |
◆ QuadTree() [5/6]
QuadTree |
( |
QuadTree * |
inp_parent, |
|
|
ScalarType * |
inp_data, |
|
|
ScalarType |
inp_x, |
|
|
ScalarType |
inp_y, |
|
|
ScalarType |
inp_hw, |
|
|
ScalarType |
inp_hh |
|
) |
| |
◆ ~QuadTree()
◆ QuadTree() [6/6]
◆ computeEdgeForces()
void computeEdgeForces |
( |
int * |
row_P, |
|
|
int * |
col_P, |
|
|
ScalarType * |
val_P, |
|
|
int |
N, |
|
|
ScalarType * |
pos_f |
|
) |
| |
◆ computeNonEdgeForces()
void computeNonEdgeForces |
( |
int |
point_index, |
|
|
ScalarType |
theta, |
|
|
ScalarType |
neg_f[], |
|
|
ScalarType * |
sum_Q |
|
) |
| |
◆ fill()
◆ getAllIndices() [1/2]
void getAllIndices |
( |
int * |
indices | ) |
|
◆ getAllIndices() [2/2]
int getAllIndices |
( |
int * |
indices, |
|
|
int |
loc |
|
) |
| |
|
private |
◆ getDepth()
◆ getParent()
◆ init()
void init |
( |
QuadTree * |
inp_parent, |
|
|
ScalarType * |
inp_data, |
|
|
ScalarType |
inp_x, |
|
|
ScalarType |
inp_y, |
|
|
ScalarType |
inp_hw, |
|
|
ScalarType |
inp_hh |
|
) |
| |
|
private |
◆ insert()
bool insert |
( |
int |
new_index | ) |
|
◆ isCorrect()
◆ operator=()
◆ print()
◆ rebuildTree()
◆ setData()
void setData |
( |
ScalarType * |
inp_data | ) |
|
◆ subdivide()
◆ boundary
◆ buff
◆ center_of_mass
◆ cum_size
◆ data
◆ index
◆ is_leaf
◆ northEast
◆ northWest
◆ parent
◆ QT_NO_DIMS
◆ QT_NODE_CAPACITY
const int QT_NODE_CAPACITY = 1 |
|
staticprivate |
◆ size
◆ southEast
◆ southWest
The documentation for this class was generated from the following file: