cluster::CebysevKF< K, Fspc > Class Template Referenceabstract
part of the Cebysev expansion for arbitrary kernels. More...
#include <cebysevK.hh>
Public Types | |
typedef Traits::Fkrnl | Fkrnl |
typedef CebysevKFTraits< K > | Traits |
Public Member Functions | |
virtual void | apply (uint m, const FColExp *Fexp, const concepts::Real src[], concepts::Real dst[]) const=0 |
Application of the expansion. More... | |
void | apply (uint m, const FColExp *Fexp, const Fspc src[], Fspc dst[]) const |
void | apply (uint m, const FColF< Fkrnl > Fexp[], const Fspc src[], Fspc dst[]) const |
uint | blksz (uint m) const |
Size of memory used for the expansion. More... | |
void | ceby2poly (uint m, const concepts::Real3d &z, Fkrnl F[]) const |
Conversion from Cebysev to monomial basis of interpolation polynom. More... | |
CebysevKF (K &krnl, uint m, concepts::Real eta) | |
Constructor. More... | |
void | evaluate (uint m, const concepts::Real3d &z, FColExp *Fexp) const |
void | evaluate (uint m, const concepts::Real3d &z, FColF< Fkrnl > Fexp[]) const |
void | fit (uint m, const concepts::Real3d &z, Fkrnl F[]) const |
Interpolation. More... | |
virtual FColF< Fkrnl > * | getCol (uint blksz) const |
Allocates memory for the expansion coefficients. More... | |
uint | m () const |
virtual uint | m () const=0 |
Order of the expansion. More... | |
virtual | ~CebysevKF () |
Private Member Functions | |
int | index_ (int ix, int iy, int iz) const |
Private Attributes | |
concepts::Real ** | cebysev_ |
Values of the Cebysev polynomials. More... | |
Fkrnl * | d_ |
Auxiliary vectors. More... | |
Fkrnl * | dd_ |
concepts::Real | eta_ |
Interpolation coefficient. More... | |
Fkrnl * | kernel_ |
values of the kernel function More... | |
K & | krnl_ |
Kernel function. More... | |
uint | m_ |
Expansion order. More... | |
concepts::Real * | x_ |
Interpolation points. More... | |
concepts::Real * | y_ |
concepts::Real * | z_ |
Detailed Description
template<class K = bem::Laplace, class Fspc = concepts::Real>
class cluster::CebysevKF< K, Fspc >
part of the Cebysev expansion for arbitrary kernels.
- Parameters
-
K Kernel function Fspc Field of the space (Real or Cmplx)
Definition at line 35 of file cebysevK.hh.
Member Typedef Documentation
◆ Fkrnl
typedef Traits::Fkrnl cluster::CebysevKF< K, Fspc >::Fkrnl |
Definition at line 38 of file cebysevK.hh.
◆ Traits
typedef CebysevKFTraits<K> cluster::CebysevKF< K, Fspc >::Traits |
Definition at line 37 of file cebysevK.hh.
Constructor & Destructor Documentation
◆ CebysevKF()
cluster::CebysevKF< K, Fspc >::CebysevKF | ( | K & | krnl, |
uint | m, | ||
concepts::Real | eta | ||
) |
Constructor.
- Parameters
-
krnl Kernel function m Expansion order eta Size of interpolation domain
◆ ~CebysevKF()
|
virtual |
Member Function Documentation
◆ apply() [1/3]
|
pure virtualinherited |
Application of the expansion.
- Exceptions
-
MissingFeature
- Parameters
-
m Expansion order F Expansion coefficients src Source dst Destination (output)
◆ apply() [2/3]
|
inline |
- Exceptions
-
MissingFeature
Definition at line 123 of file cebysevK.hh.
◆ apply() [3/3]
void cluster::CebysevKF< K, Fspc >::apply | ( | uint | m, |
const FColF< Fkrnl > | Fexp[], | ||
const Fspc | src[], | ||
Fspc | dst[] | ||
) | const |
◆ blksz()
|
inlinevirtual |
Size of memory used for the expansion.
- Parameters
-
m Expansion order
Implements cluster::ExpansionF< concepts::Real >.
Definition at line 71 of file cebysevK.hh.
◆ ceby2poly()
void cluster::CebysevKF< K, Fspc >::ceby2poly | ( | uint | m, |
const concepts::Real3d & | z, | ||
Fkrnl | F[] | ||
) | const |
Conversion from Cebysev to monomial basis of interpolation polynom.
◆ evaluate() [1/2]
|
inlinevirtual |
- Exceptions
-
MissingFeature
Implements cluster::ExpansionF< concepts::Real >.
Definition at line 102 of file cebysevK.hh.
◆ evaluate() [2/2]
|
inline |
Definition at line 116 of file cebysevK.hh.
◆ fit()
void cluster::CebysevKF< K, Fspc >::fit | ( | uint | m, |
const concepts::Real3d & | z, | ||
Fkrnl | F[] | ||
) | const |
Interpolation.
◆ getCol()
|
inlinevirtual |
Allocates memory for the expansion coefficients.
Implements cluster::ExpansionF< concepts::Real >.
Definition at line 74 of file cebysevK.hh.
◆ index_()
|
inlineprivate |
Definition at line 96 of file cebysevK.hh.
◆ m() [1/2]
|
inline |
Definition at line 72 of file cebysevK.hh.
◆ m() [2/2]
|
pure virtualinherited |
Order of the expansion.
Member Data Documentation
◆ cebysev_
|
private |
Values of the Cebysev polynomials.
Definition at line 46 of file cebysevK.hh.
◆ d_
|
private |
Auxiliary vectors.
Definition at line 56 of file cebysevK.hh.
◆ dd_
|
private |
Definition at line 57 of file cebysevK.hh.
◆ eta_
|
private |
Interpolation coefficient.
Definition at line 44 of file cebysevK.hh.
◆ kernel_
|
private |
values of the kernel function
Definition at line 52 of file cebysevK.hh.
◆ krnl_
|
private |
Kernel function.
Definition at line 54 of file cebysevK.hh.
◆ m_
|
private |
Expansion order.
Definition at line 42 of file cebysevK.hh.
◆ x_
|
private |
Interpolation points.
Definition at line 48 of file cebysevK.hh.
◆ y_
|
private |
Definition at line 49 of file cebysevK.hh.
◆ z_
|
private |
Definition at line 50 of file cebysevK.hh.
The documentation for this class was generated from the following file:
- cluster/cebysevK.hh