NiHu  2.0
NiHu::kernel_base< Derived > Class Template Reference

CRTP base class of all BEM kernels. More...

#include <kernel.hpp>

Classes

class  kernel_bind
 the kernel bound at the test kernel input More...
 

Public Types

typedef traits_t::test_input_t test_input_t
 type of the first (test) kernel input
 
typedef traits_t::trial_input_t trial_input_t
 type of the second (trial) kernel input
 
typedef traits_t::result_t result_t
 compile time check if the two kernel inputs are compatible More...
 
typedef test_input_t::space_t space_t
 type of the kernel's domain space
 
typedef space_t::location_t x_t
 type of a location vector in the kernel's domain
 
typedef space_t::scalar_t scalar_t
 type of the scalar coordinate in the kernel's domain
 
typedef traits_t::quadrature_family_t quadrature_family_t
 the quadrature family the kernel is integrated with
 
typedef traits_t::far_field_behaviour_t far_field_behaviour_t
 the asymptotic (far field) behaviour of the kernel
 
typedef kernel_compl_estimator< Derived >::type estimator_t
 the kernel complexity estimator class
 

Public Member Functions

kernel_bind bind (test_input_t const &x) const
 bind the kernel at its test input More...
 
result_t operator() (test_input_t const &x, trial_input_t const &y) const
 evaluate kernel at a given source and receiver position More...
 

Public Attributes

NIHU_CRTP_HELPERS typedef kernel_traits< Derived > traits_t
 the traits class
 

Static Public Attributes

static const bool is_symmetric = traits_t::is_symmetric
 true if K(x,y) = K(y,x)
 
static const bool is_sungular = traits_t::is_singular
 true if the kernel is singular
 

Detailed Description

template<class Derived>
class NiHu::kernel_base< Derived >

CRTP base class of all BEM kernels.

Template Parameters
Derivedthe CRTP derived class

Definition at line 133 of file kernel.hpp.

Member Typedef Documentation

◆ result_t

template<class Derived >
typedef traits_t::result_t NiHu::kernel_base< Derived >::result_t

compile time check if the two kernel inputs are compatible

type of the kernel result

Definition at line 147 of file kernel.hpp.

Member Function Documentation

◆ bind()

template<class Derived >
kernel_bind NiHu::kernel_base< Derived >::bind ( test_input_t const &  x) const
inline

bind the kernel at its test input

Parameters
[in]xthe test input that binds the kernel
Returns
the bound kernel function

Definition at line 206 of file kernel.hpp.

◆ operator()()

template<class Derived >
result_t NiHu::kernel_base< Derived >::operator() ( test_input_t const &  x,
trial_input_t const &  y 
) const
inline

evaluate kernel at a given source and receiver position

Parameters
[in]xtest position
[in]ytrial position
Returns
kernel value K(x,y)

Definition at line 217 of file kernel.hpp.


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