ExaFMM 1
Fast-multipole Method for exascale systems
|
Bottomup tree constructor. More...
#include <bottomup.h>
Public Member Functions | |
BottomUp () | |
Constructor. | |
~BottomUp () | |
Destructor. | |
void | setIndex (Bodies &bodies, int level=-1, int begin=0, int end=0, bool update=false) |
Set cell index of all bodies. | |
void | prune (Bodies &bodies) |
Prune tree by merging cells. | |
void | grow (Bodies &bodies, int level=0, int begin=0, int end=0) |
Grow tree by splitting cells. | |
Protected Member Functions | |
int | getMaxLevel (Bodies &bodies) |
< Get level from cell index |
Bottomup tree constructor.
Definition at line 28 of file bottomup.h.
Constructor.
Definition at line 56 of file bottomup.h.
Destructor.
Definition at line 58 of file bottomup.h.
int BottomUp< equation >::getMaxLevel | ( | Bodies & | bodies | ) | [inline, protected] |
< Get level from cell index
Max level for bottom up tree build
Definition at line 41 of file bottomup.h.
void BottomUp< equation >::grow | ( | Bodies & | bodies, |
int | level = 0 , |
||
int | begin = 0 , |
||
int | end = 0 |
||
) | [inline] |
Grow tree by splitting cells.
Definition at line 127 of file bottomup.h.
Prune tree by merging cells.
Definition at line 90 of file bottomup.h.
void BottomUp< equation >::setIndex | ( | Bodies & | bodies, |
int | level = -1 , |
||
int | begin = 0 , |
||
int | end = 0 , |
||
bool | update = false |
||
) | [inline] |
Set cell index of all bodies.
Definition at line 61 of file bottomup.h.