NiHu  2.0
helmholtz_3d_hf_cluster.cpp
Go to the documentation of this file.
1 
8 
9 namespace NiHu
10 {
11 namespace fmm
12 {
13 
15  : m_p_level_data(nullptr)
16 {
17 }
18 
21 {
22  return multipole_t::Zero(get_level_data().get_unit_sphere().get_num_directions(), 1);
23 }
24 
27 {
28  return local_t::Zero(get_level_data().get_unit_sphere().get_num_directions(), 1);
29 }
30 
32 {
33  m_p_level_data = p;
34 }
35 
38 {
39  return *m_p_level_data;
40 }
41 
42 } // end of namespace
43 } // end of namespace NiHu
NiHu::fmm::helmholtz_3d_hf_cluster::local_t
base_t::local_t local_t
the local type
Definition: helmholtz_3d_hf_cluster.h:46
NiHu::fmm::helmholtz_3d_hf_cluster::get_level_data
const helmholtz_3d_hf_level_data & get_level_data() const
return the cluster's level data
Definition: helmholtz_3d_hf_cluster.cpp:37
NiHu::fmm::helmholtz_3d_hf_cluster::set_p_level_data
void set_p_level_data(helmholtz_3d_hf_level_data const *p)
set the pointer to the cluster's level data
Definition: helmholtz_3d_hf_cluster.cpp:31
NiHu::fmm::helmholtz_3d_hf_cluster::zero_local
local_t zero_local() const
return a zero (cleared) local contribution
Definition: helmholtz_3d_hf_cluster.cpp:26
NiHu::fmm::helmholtz_3d_hf_cluster::multipole_t
base_t::multipole_t multipole_t
the multipole type
Definition: helmholtz_3d_hf_cluster.h:44
NiHu::fmm::helmholtz_3d_hf_cluster::zero_multipole
multipole_t zero_multipole() const
return a zero (cleared) multipole contribution
Definition: helmholtz_3d_hf_cluster.cpp:20
NiHu::fmm::helmholtz_3d_hf_cluster::helmholtz_3d_hf_cluster
helmholtz_3d_hf_cluster()
constructor, setting level_data pointer to null
Definition: helmholtz_3d_hf_cluster.cpp:14
NiHu::fmm::helmholtz_3d_hf_level_data
level data of the helmholtz 3d hf fmm
Definition: helmholtz_3d_hf_level_data.h:23
helmholtz_3d_hf_cluster.h
Interface of class fmm::helmholtz_3d_hf_cluster.