ExaFMM 1
Fast-multipole Method for exascale systems
Public Member Functions | Protected Member Functions
BottomUp< equation > Class Template Reference

Bottomup tree constructor. More...

#include <bottomup.h>

Inheritance diagram for BottomUp< equation >:
Inheritance graph
[legend]
Collaboration diagram for BottomUp< equation >:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

template<Equation equation>
class BottomUp< equation >

Bottomup tree constructor.

Definition at line 28 of file bottomup.h.


Constructor & Destructor Documentation

template<Equation equation>
BottomUp< equation >::BottomUp ( ) [inline]

Constructor.

Definition at line 56 of file bottomup.h.

template<Equation equation>
BottomUp< equation >::~BottomUp ( ) [inline]

Destructor.

Definition at line 58 of file bottomup.h.


Member Function Documentation

template<Equation equation>
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.

Here is the caller graph for this function:

template<Equation equation>
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.

Here is the call graph for this function:

Here is the caller graph for this function:

template<Equation equation>
void BottomUp< equation >::prune ( Bodies bodies) [inline]

Prune tree by merging cells.

Definition at line 90 of file bottomup.h.

Here is the call graph for this function:

template<Equation equation>
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.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines