NiHu  2.0
NiHu::fmm::black_box_fmm< Kernel > Class Template Reference

Black box FMM for a smooth kernel. More...

#include <black_box_fmm.hpp>

Classes

class  l2l
 the l2l operator of the black box fmm More...
 
class  l2p
 the l2p operator of the black box fmm More...
 
class  m2l
 the m2l operator of the black box fmm More...
 
class  m2m
 the m2m operator of the black box fmm More...
 
class  m2p
 the m2p operator of the black box fmm More...
 
class  p2l
 the p2l operator of the black box fmm More...
 
class  p2m
 the p2m operator of the black box fmm More...
 

Public Types

typedef Kernel kernel_t
 template parameter as nested type
 
typedef kernel_derivative_traits< kernel_tderivative_traits_t
 
typedef derivative_traits_t::kernel_00_t kernel_00_t
 
typedef derivative_traits_t::kernel_nx_t kernel_nx_t
 
typedef derivative_traits_t::kernel_ny_t kernel_ny_t
 
typedef scalar< typename kernel_00_t::result_t >::type kernel_scalar_t
 the kernel result's scalar type
 
typedef chebyshev_cluster< space_dimension, kernel_scalar_t, field_dimensioncluster_t
 the cluster type
 

Public Member Functions

 black_box_fmm (kernel_t const &kernel)
 constructor More...
 
auto create_p2p () const
 return the p2p operator instance More...
 
auto create_p2m () const
 return the p2m operator instance More...
 
p2l create_p2l () const
 return the p2l operator instance More...
 
auto create_m2p () const
 return the m2p operator instance More...
 
auto create_l2p () const
 return the l2p operator instance More...
 
m2m create_m2m () const
 return the m2m operator instance More...
 
l2l create_l2l () const
 return the l2l operator instance More...
 
m2l create_m2l () const
 return the m2l operator instance More...
 

Static Public Attributes

static const int Nx = derivative_traits_t::nx
 
static const int Ny = derivative_traits_t::ny
 
static const size_t space_dimension = kernel_00_t::space_t::dimension
 the space's dimension
 
static const size_t field_dimension = num_rows<typename kernel_00_t::result_t>::value
 the field's dimension
 

Detailed Description

template<class Kernel>
class NiHu::fmm::black_box_fmm< Kernel >

Black box FMM for a smooth kernel.

Template Parameters
KernelKernel class

Definition at line 61 of file black_box_fmm.hpp.

Constructor & Destructor Documentation

◆ black_box_fmm()

template<class Kernel >
NiHu::fmm::black_box_fmm< Kernel >::black_box_fmm ( kernel_t const &  kernel)
inline

constructor

Parameters
[in]kernelthe kernel instance

Definition at line 412 of file black_box_fmm.hpp.

Member Function Documentation

◆ create_l2l()

template<class Kernel >
l2l NiHu::fmm::black_box_fmm< Kernel >::create_l2l ( ) const
inline

return the l2l operator instance

Returns
the l2l operator instance

Definition at line 469 of file black_box_fmm.hpp.

◆ create_l2p()

template<class Kernel >
auto NiHu::fmm::black_box_fmm< Kernel >::create_l2p ( ) const
inline

return the l2p operator instance

Returns
the l2p operator instance

Definition at line 453 of file black_box_fmm.hpp.

◆ create_m2l()

template<class Kernel >
m2l NiHu::fmm::black_box_fmm< Kernel >::create_m2l ( ) const
inline

return the m2l operator instance

Returns
the l2l operator instance

Definition at line 477 of file black_box_fmm.hpp.

◆ create_m2m()

template<class Kernel >
m2m NiHu::fmm::black_box_fmm< Kernel >::create_m2m ( ) const
inline

return the m2m operator instance

Returns
the m2m operator instance

Definition at line 461 of file black_box_fmm.hpp.

◆ create_m2p()

template<class Kernel >
auto NiHu::fmm::black_box_fmm< Kernel >::create_m2p ( ) const
inline

return the m2p operator instance

Returns
the m2p operator instance

Definition at line 445 of file black_box_fmm.hpp.

◆ create_p2l()

template<class Kernel >
p2l NiHu::fmm::black_box_fmm< Kernel >::create_p2l ( ) const
inline

return the p2l operator instance

Returns
the p2l operator instance

Definition at line 437 of file black_box_fmm.hpp.

◆ create_p2m()

template<class Kernel >
auto NiHu::fmm::black_box_fmm< Kernel >::create_p2m ( ) const
inline

return the p2m operator instance

Returns
the p2m operator instance

Definition at line 429 of file black_box_fmm.hpp.

◆ create_p2p()

template<class Kernel >
auto NiHu::fmm::black_box_fmm< Kernel >::create_p2p ( ) const
inline

return the p2p operator instance

Returns
the p2p operator instance

Definition at line 421 of file black_box_fmm.hpp.


The documentation for this class was generated from the following file: