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

Base class for tree structure. More...

#include <tree.h>

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

List of all members.

Public Member Functions

void downward (Cells &cells, Cells &jcells, bool periodic=true)
 Downward phase (M2L,M2P,P2P,L2L,L2P evaluation)
void Ewald (Bodies &bodies, Cells &cells, Cells &jcells)
 Calculate Ewald summation.

Public Attributes

Bodies buffer
 Buffer for MPI communication & sorting.

Protected Member Functions

void getCenter (Cell &cell)
 Get cell center and radius from cell index.
void bodies2twigs (Bodies &bodies, Cells &twigs)
 Group bodies into twig cells.
void twigs2cells (Cells &twigs, Cells &cells, Cells &sticks)
 Link twigs bottomup to create all cells in tree.

Private Member Functions

bigint getParent (bigint index)
 < Evalaute Ewald wave part
void unique (Cells &cells, Cells &sticks, int begin, int &end)
 Merge sticks with cells (levelwise)
void linkParent (Cells &cells, int &begin, int &end)
 Form parent-child mutual link.

Detailed Description

template<Equation equation>
class TreeStructure< equation >

Base class for tree structure.

Definition at line 28 of file tree.h.


Member Function Documentation

template<Equation equation>
void TreeStructure< equation >::bodies2twigs ( Bodies bodies,
Cells twigs 
) [inline, protected]

Group bodies into twig cells.

Definition at line 149 of file tree.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<Equation equation>
void TreeStructure< equation >::downward ( Cells cells,
Cells jcells,
bool  periodic = true 
) [inline]

Downward phase (M2L,M2P,P2P,L2L,L2P evaluation)

Definition at line 217 of file tree.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<Equation equation>
void TreeStructure< equation >::Ewald ( Bodies bodies,
Cells cells,
Cells jcells 
) [inline]

Calculate Ewald summation.

Definition at line 246 of file tree.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<Equation equation>
void TreeStructure< equation >::getCenter ( Cell cell) [inline, protected]

Get cell center and radius from cell index.

Definition at line 131 of file tree.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<Equation equation>
bigint TreeStructure< equation >::getParent ( bigint  index) [inline, private]

< Evalaute Ewald wave part

Get parent cell index from current cell index

Definition at line 59 of file tree.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<Equation equation>
void TreeStructure< equation >::linkParent ( Cells cells,
int &  begin,
int &  end 
) [inline, private]

Form parent-child mutual link.

Definition at line 91 of file tree.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<Equation equation>
void TreeStructure< equation >::twigs2cells ( Cells twigs,
Cells cells,
Cells sticks 
) [inline, protected]

Link twigs bottomup to create all cells in tree.

Definition at line 180 of file tree.h.

Here is the call graph for this function:

Here is the caller graph for this function:

template<Equation equation>
void TreeStructure< equation >::unique ( Cells cells,
Cells sticks,
int  begin,
int &  end 
) [inline, private]

Merge sticks with cells (levelwise)

Definition at line 68 of file tree.h.

Here is the caller graph for this function:


Member Data Documentation

template<Equation equation>
Bodies TreeStructure< equation >::buffer

Buffer for MPI communication & sorting.

Definition at line 30 of file tree.h.


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