NiHu
2.0
|
cluster type of the Laplace 2D FMM More...
#include <laplace_2d_fmm.hpp>
Public Types | |
typedef base_t::multipole_t | multipole_t |
the multipole type | |
typedef base_t::local_t | local_t |
the local type | |
Public Types inherited from NiHu::fmm::cluster_base< laplace_2d_cluster > | |
typedef cluster_traits< laplace_2d_cluster > | traits_t |
Traits structure. | |
typedef bounding_box< dimension, double > | bounding_box_t |
Bounding box type. | |
typedef bounding_box_t::location_t | location_t |
Location type. | |
typedef std::vector< size_t > | idx_list_t |
Index list type for storing children and contained nodes. | |
typedef traits_t::multipole_t | multipole_t |
Multipole type. | |
typedef traits_t::local_t | local_t |
Local type. | |
Public Member Functions | |
void | set_expansion_length (size_t L) |
set the expansion length | |
size_t | get_expansion_length () const |
get the expansion length More... | |
multipole_t | zero_multipole () const |
return a cleared multipole contribution | |
local_t | zero_local () const |
return a cleared local contribution | |
Public Member Functions inherited from NiHu::fmm::cluster_base< laplace_2d_cluster > | |
NIHU_CRTP_HELPERS void | set_level (size_t level) |
Set cluster's level. More... | |
size_t | get_level () const |
Get cluster's level. More... | |
void | set_parent (size_t parent) |
Set the parent cluster's index. More... | |
size_t | get_parent () const |
return parent cluster's index More... | |
void | set_bounding_box (bounding_box_t const &bb) |
set the cluster's bounding box More... | |
const bounding_box_t & | get_bounding_box () const |
return cluster's bounding box More... | |
void | set_src_node_idx (idx_list_t const &node_idx) |
set indices of source nodes More... | |
void | set_src_node_idx (ForwardIt begin, ForwardIt end) |
set indices of source nodes with range More... | |
const idx_list_t & | get_src_node_idx () const |
get indices of source nodes More... | |
size_t | get_n_src_nodes () const |
return number of sources contained in cluster More... | |
void | set_rec_node_idx (idx_list_t const &node_idx) |
set indices of receiver nodes More... | |
void | set_rec_node_idx (ForwardIt begin, ForwardIt end) |
set indices of receiver nodes with range More... | |
const idx_list_t & | get_rec_node_idx () const |
get indices of receiver nodes More... | |
size_t | get_n_rec_nodes () const |
get number of receiver nodes contained in cluster More... | |
void | add_child (size_t child) |
add a new child to a cluster More... | |
const idx_list_t & | get_children () const |
get indices of children More... | |
bool | is_leaf () const |
indicates if cluster is leaf More... | |
bool | is_root () const |
indicates if cluster is root (0-level) More... | |
bool | is_source () const |
indicates if cluster is source More... | |
bool | is_receiver () const |
indicates if cluster is receiver More... | |
void | print_debug (std::ostream &os=std::cout) const |
prints debug information of the cluster to an output stream More... | |
multipole_t | zero_multipole () const |
return a cleared (zero) multipole contribution More... | |
local_t | zero_local () const |
return a cleared (zero) local contribution More... | |
Additional Inherited Members | |
Static Public Attributes inherited from NiHu::fmm::cluster_base< laplace_2d_cluster > | |
static const size_t | dimension |
Space dimension. | |
cluster type of the Laplace 2D FMM
Definition at line 42 of file laplace_2d_fmm.hpp.
size_t NiHu::fmm::laplace_2d_cluster::get_expansion_length | ( | ) | const |
get the expansion length
Definition at line 45 of file laplace_2d_fmm.cpp.