cluster::CebysevLaplaceF< Fspc > Class Template Referenceabstract

$F$ part of the Cebysev expansion of the Laplace kernel. More...

#include <cebysev.hh>

Inheritance diagram for cluster::CebysevLaplaceF< Fspc >:
cluster::ExpansionF< concepts::Real >

Classes

class  FColCebyLpl
 Class to hold the expansion coefficients. More...
 

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 FColReal 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, concepts::Real F[]) const
 Conversion from Cebysev to monomial basis of interpolation polynom. More...
 
 CebysevLaplaceF (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, FColReal Fexp[]) const
 
void fit (uint m, const concepts::Real3d &z, concepts::Real F[]) const
 Interpolation. More...
 
virtual FColRealgetCol (uint blksz) const
 Allocates memory for the expansion coefficients. More...
 
uint m () const
 
virtual uint m () const=0
 Order of the expansion. More...
 
virtual ~CebysevLaplaceF ()
 

Private Member Functions

int index_ (int ix, int iy, int iz) const
 

Private Attributes

concepts::Real ** cebysev_
 Values of the Cebysev polynomials. More...
 
concepts::Reald_
 Auxiliary vectors. More...
 
concepts::Realdd_
 
concepts::Real eta_
 Interpolation coefficient. More...
 
concepts::Realkernel_
 values of the kernel function More...
 
uint m_
 Expansion order. More...
 
concepts::Realx_
 Interpolation points. More...
 
concepts::Realy_
 
concepts::Realz_
 

Detailed Description

template<class Fspc = concepts::Real>
class cluster::CebysevLaplaceF< Fspc >

$F$ part of the Cebysev expansion of the Laplace kernel.

Parameters
FspcField of the space (Real or Cmplx)

Definition at line 21 of file cebysev.hh.

Constructor & Destructor Documentation

◆ CebysevLaplaceF()

template<class Fspc = concepts::Real>
cluster::CebysevLaplaceF< Fspc >::CebysevLaplaceF ( uint  m,
concepts::Real  eta 
)

Constructor.

Parameters
mExpansion order
etaSize of interpolation domain $0<\eta<1$

◆ ~CebysevLaplaceF()

template<class Fspc = concepts::Real>
virtual cluster::CebysevLaplaceF< Fspc >::~CebysevLaplaceF ( )
virtual

Member Function Documentation

◆ apply() [1/3]

virtual void cluster::ExpansionF< concepts::Real >::apply ( uint  m,
const FColExp Fexp,
const Fspc  src[],
Fspc  dst[] 
) const
pure virtualinherited

Application of the expansion.

Exceptions
MissingFeature
Parameters
mExpansion order
FExpansion coefficients
srcSource
dstDestination (output)

◆ apply() [2/3]

template<class Fspc >
void cluster::CebysevLaplaceF< Fspc >::apply ( uint  m,
const FColExp Fexp,
const Fspc  src[],
Fspc  dst[] 
) const
inline
Exceptions
MissingFeature

Definition at line 125 of file cebysev.hh.

◆ apply() [3/3]

template<class Fspc = concepts::Real>
void cluster::CebysevLaplaceF< Fspc >::apply ( uint  m,
const FColReal  Fexp[],
const Fspc  src[],
Fspc  dst[] 
) const

◆ blksz()

template<class Fspc = concepts::Real>
uint cluster::CebysevLaplaceF< Fspc >::blksz ( uint  m) const
inlinevirtual

Size of memory used for the expansion.

Parameters
mExpansion order

Implements cluster::ExpansionF< concepts::Real >.

Definition at line 69 of file cebysev.hh.

◆ ceby2poly()

template<class Fspc = concepts::Real>
void cluster::CebysevLaplaceF< Fspc >::ceby2poly ( uint  m,
const concepts::Real3d z,
concepts::Real  F[] 
) const

Conversion from Cebysev to monomial basis of interpolation polynom.

◆ evaluate() [1/2]

template<class Fspc >
void cluster::CebysevLaplaceF< Fspc >::evaluate ( uint  m,
const concepts::Real3d z,
FColExp Fexp 
) const
inlinevirtual
Exceptions
MissingFeature

Implements cluster::ExpansionF< concepts::Real >.

Definition at line 101 of file cebysev.hh.

◆ evaluate() [2/2]

template<class Fspc >
void cluster::CebysevLaplaceF< Fspc >::evaluate ( uint  m,
const concepts::Real3d z,
FColReal  Fexp[] 
) const
inline

Definition at line 116 of file cebysev.hh.

◆ fit()

template<class Fspc = concepts::Real>
void cluster::CebysevLaplaceF< Fspc >::fit ( uint  m,
const concepts::Real3d z,
concepts::Real  F[] 
) const

Interpolation.

◆ getCol()

template<class Fspc = concepts::Real>
virtual FColReal* cluster::CebysevLaplaceF< Fspc >::getCol ( uint  blksz) const
inlinevirtual

Allocates memory for the expansion coefficients.

Implements cluster::ExpansionF< concepts::Real >.

Definition at line 72 of file cebysev.hh.

◆ index_()

template<class Fspc >
int cluster::CebysevLaplaceF< Fspc >::index_ ( int  ix,
int  iy,
int  iz 
) const
inlineprivate

Definition at line 95 of file cebysev.hh.

◆ m() [1/2]

template<class Fspc = concepts::Real>
uint cluster::CebysevLaplaceF< Fspc >::m ( ) const
inline

Definition at line 70 of file cebysev.hh.

◆ m() [2/2]

virtual uint cluster::ExpansionF< concepts::Real >::m ( ) const
pure virtualinherited

Order of the expansion.

Member Data Documentation

◆ cebysev_

template<class Fspc = concepts::Real>
concepts::Real** cluster::CebysevLaplaceF< Fspc >::cebysev_
private

Values of the Cebysev polynomials.

Definition at line 47 of file cebysev.hh.

◆ d_

template<class Fspc = concepts::Real>
concepts::Real* cluster::CebysevLaplaceF< Fspc >::d_
private

Auxiliary vectors.

Definition at line 55 of file cebysev.hh.

◆ dd_

template<class Fspc = concepts::Real>
concepts::Real* cluster::CebysevLaplaceF< Fspc >::dd_
private

Definition at line 56 of file cebysev.hh.

◆ eta_

template<class Fspc = concepts::Real>
concepts::Real cluster::CebysevLaplaceF< Fspc >::eta_
private

Interpolation coefficient.

Definition at line 45 of file cebysev.hh.

◆ kernel_

template<class Fspc = concepts::Real>
concepts::Real* cluster::CebysevLaplaceF< Fspc >::kernel_
private

values of the kernel function

Definition at line 53 of file cebysev.hh.

◆ m_

template<class Fspc = concepts::Real>
uint cluster::CebysevLaplaceF< Fspc >::m_
private

Expansion order.

Definition at line 43 of file cebysev.hh.

◆ x_

template<class Fspc = concepts::Real>
concepts::Real* cluster::CebysevLaplaceF< Fspc >::x_
private

Interpolation points.

Definition at line 49 of file cebysev.hh.

◆ y_

template<class Fspc = concepts::Real>
concepts::Real* cluster::CebysevLaplaceF< Fspc >::y_
private

Definition at line 50 of file cebysev.hh.

◆ z_

template<class Fspc = concepts::Real>
concepts::Real* cluster::CebysevLaplaceF< Fspc >::z_
private

Definition at line 51 of file cebysev.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich