11 static size_t const dimension = 3;
19 for (
auto c : tree[idx].get_children())
29 typedef cluster_t::location_t location_t;
31 location_t *begin =
new location_t[N];
32 for (
size_t i = 0; i < N; ++i)
48 location_t *src_begin =
new location_t[N_src];
49 for (
size_t i = 0; i < N_src; ++i)
50 src_begin[i].setRandom();
53 location_t *rec_begin =
new location_t[N_rec];
54 for (
size_t i = 0; i < N_rec; ++i)
55 rec_begin[i].setRandom();
58 rec_begin, rec_begin + N_rec,
65 NiHu::fmm::create_elem_center_iterator(mesh.template begin<NiHu::tria_1_elem>()),
66 NiHu::fmm::create_elem_center_iterator(mesh.template end<NiHu::tria_1_elem>()),
73 size_t level = tree[i].get_level();
74 location_t loc = tree[i].get_bounding_box().get_center();
84 for (
auto i : tree.get_leaf_src_indices())
89 for (
auto i : tree.get_leaf_src_indices())