class storing the different interaction lists of a tree
More...
#include <lists.hpp>
|
enum | {
P2P = 0,
P2M = 1,
L2P = 2,
P2L = 3,
M2P = 4,
M2M = 5,
L2L = 6,
M2L = 7,
Near = 8
} |
|
typedef std::vector< std::vector< size_t > > | list_t |
|
class storing the different interaction lists of a tree
Definition at line 22 of file lists.hpp.
◆ interaction_lists()
template<class ClusterDerived >
NiHu::fmm::interaction_lists::interaction_lists |
( |
cluster_tree< ClusterDerived > const & |
tree | ) |
|
|
inline |
constructor from cluster tree
- Template Parameters
-
ClusterDerived | the cluster type |
- Parameters
-
Definition at line 50 of file lists.hpp.
◆ get_list()
const list_t& NiHu::fmm::interaction_lists::get_list |
( |
size_t |
idx | ) |
const |
|
inline |
return a selected list
- Parameters
-
[in] | idx | the list index, interaction_lists::P2P for example |
- Returns
- the selected list
Definition at line 61 of file lists.hpp.
◆ print_debug()
void NiHu::fmm::interaction_lists::print_debug |
( |
std::ostream & |
os = std::cout | ) |
|
|
inline |
print debug information of the lists to a stream
- Parameters
-
Definition at line 157 of file lists.hpp.
The documentation for this class was generated from the following file: