NiHu  2.0
NiHu::stokes_2d_U_kernel Class Reference

The velocity kernel of 2D Stokes flow. More...

#include <stokes_kernel.hpp>

Public Types

typedef location_input_2d::x_t x_t
 
- Public Types inherited from NiHu::kernel_base< stokes_2d_U_kernel >
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< stokes_2d_U_kernel >::type estimator_t
 the kernel complexity estimator class
 

Public Member Functions

 stokes_2d_U_kernel (double mu)
 Construct a new Stokes 2d U kernel object. More...
 
result_t operator() (x_t const &x, x_t const &y) const
 Evaluate the kernel between two locations. More...
 
result_t operator() (location_input_2d const &x, location_input_2d const &y) const
 Evaluate the kernel between two kernel inputs. More...
 
- Public Member Functions inherited from NiHu::kernel_base< stokes_2d_U_kernel >
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 Member Functions inherited from NiHu::stokes_kernel
 stokes_kernel (double mu)
 Construct a new Stokes kernel object. More...
 
double get_viscosity () const
 Get the viscosity. More...
 

Additional Inherited Members

- Public Attributes inherited from NiHu::kernel_base< stokes_2d_U_kernel >
NIHU_CRTP_HELPERS typedef kernel_traits< stokes_2d_U_kerneltraits_t
 the traits class
 
- Static Public Attributes inherited from NiHu::kernel_base< stokes_2d_U_kernel >
static const bool is_symmetric
 true if K(x,y) = K(y,x)
 
static const bool is_sungular
 true if the kernel is singular
 

Detailed Description

The velocity kernel of 2D Stokes flow.

/

Definition at line 102 of file stokes_kernel.hpp.

Constructor & Destructor Documentation

◆ stokes_2d_U_kernel()

NiHu::stokes_2d_U_kernel::stokes_2d_U_kernel ( double  mu)
inline

Construct a new Stokes 2d U kernel object.

Parameters
[in]muviscosity

Definition at line 111 of file stokes_kernel.hpp.

Member Function Documentation

◆ operator()() [1/2]

result_t NiHu::stokes_2d_U_kernel::operator() ( location_input_2d const &  x,
location_input_2d const &  y 
) const
inline

Evaluate the kernel between two kernel inputs.

Parameters
[in]xthe test location
[in]ythe trial location
Returns
the kernel's value

Definition at line 134 of file stokes_kernel.hpp.

◆ operator()() [2/2]

result_t NiHu::stokes_2d_U_kernel::operator() ( x_t const &  x,
x_t const &  y 
) const
inline

Evaluate the kernel between two locations.

Parameters
[in]xthe test input
[in]ythe trial input
Returns
the kernel's value

Definition at line 120 of file stokes_kernel.hpp.


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