Go to the documentation of this file.
7 #ifndef NIHU_CHEBYSHEV_CLUSTER_HPP_INCLUDED
8 #define NIHU_CHEBYSHEV_CLUSTER_HPP_INCLUDED
27 template <
size_t Dim,
class Scalar,
size_t FieldDim>
36 template <
size_t Dim,
class Scalar,
size_t FieldDim>
40 static size_t const dimension = Dim;
44 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1>
local_t;
47 template <
size_t Dim,
class Scalar,
size_t FieldDim = 1>
49 :
public cluster_base<chebyshev_cluster<Dim, Scalar, FieldDim> >
64 typedef Eigen::Matrix<double, dimension, Eigen::Dynamic>
cheb_nodes_t;
70 m_chebyshev_order = order;
71 m_cheb_nodes = chebnodes<dimension>(m_chebyshev_order, this->get_bounding_box());
106 return m_chebyshev_order;
110 size_t m_chebyshev_order;
size_t get_chebyshev_order() const
return the Chebyshev order
static const size_t dimension
Space dimension.
traits_t::local_t local_t
Local type.
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > multipole_t
the multipole contribution's type
Cluster class of the Black Box FMM.
static const size_t dimension
the space's dimension
multipole_t zero_multipole() const
return zero multipole contribution
Eigen::Matrix< double, dimension, Eigen::Dynamic > cheb_nodes_t
type to store Chebyshev nodes
local_t zero_local() const
return zero local contribution
void set_chebyshev_order(size_t order)
set the Chebyshev order
n-dimensional Chebyshev polynomial
CRTP traits structure of a cluster.
I Ipow(I base, I exp)
compute integer power
base_t::multipole_t multipole_t
the multipole type
CRTP base class of clusters.
base_t::local_t local_t
the local type
traits_t::multipole_t multipole_t
Multipole type.
const cheb_nodes_t & get_chebyshev_nodes() const
return the Chebyshev nodes
cluster_base< chebyshev_cluster< Dim, Scalar, FieldDim > > base_t
the CRTP base class
static const size_t field_dimension
the field dimension
size_t get_data_size() const
return the number of elements in the multipole coefficients
implementation of class NiHu::fmm::cluster_base
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > local_t
the local contribution's type
miscellaneous functions and metafunctions