Class documentation of Concepts

Loading...
Searching...
No Matches
cluster::TaylorX< Fspc > Class Template Referenceabstract

#include <taylor.hh>

Inheritance diagram for cluster::TaylorX< Fspc >:
cluster::ExpansionXY< F >

Public Member Functions

 TaylorX (uint m, uint gauss)
 
uint blksz () const
 Size of memory used for the expansion.
 
uint m () const
 Order of the expansion.
 
uint gauss () const
 
XYColRealgetCol (uint blksz, uint n) const
 
void evaluate (const concepts::Real3d &z, concepts::Real X[]) const
 
void shift (const concepts::Real3d &z, const concepts::Real src[], concepts::Real dst[]) const
 Shifting the expansion coefficients.
 
void shift (const concepts::Real3d &z, const concepts::Cmplx src[], concepts::Cmplx dst[]) const
 
template<class F >
void shift (const concepts::Real3d &z, const F src[], F dst[], uint foo) const
 
void apply (const concepts::Real X[], const Fspc src[], Fspc dst[]) const
 
void apply (const XYColExpPtr *X, const Fspc src[], Fspc dst[]) const
 
void evaluate (const concepts::Element< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *X[]) const
 
void evaluate (const bem::Dirac3d000< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *X[]) const
 
void evaluate (const bem::Constant3d000< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *X[]) const
 
void evaluate (const bem::Constant3d001< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *X[]) const
 
void evaluate (const bem::Constant3d002< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *X[]) const
 
void evaluate (const bem::Linear3d000< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *X[]) const
 
virtual void evaluate (const concepts::Element< F > &elm, const concepts::Real3d &c, XYColExpPtr *XY[]) const =0
 
virtual void apply (const XYColExpPtr *XY, const F src[], F dst[]) const =0
 

Protected Attributes

concepts::Realfoo_
 Auxiliary vectors.
 
Fspc * fee_
 

Detailed Description

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

$X$ part of the Taylor kernel expansion

Parameters
FspcField of the space (Real or Cmplx)

Definition at line 23 of file taylor.hh.

Constructor & Destructor Documentation

◆ TaylorX()

template<class Fspc = concepts::Real>
cluster::TaylorX< Fspc >::TaylorX ( uint  m,
uint  gauss 
)

Constructor.

Parameters
mExpansion order
gaussNumber of quadrature points

◆ ~TaylorX()

template<class Fspc = concepts::Real>
cluster::TaylorX< Fspc >::~TaylorX ( )
inline

Definition at line 44 of file taylor.hh.

Member Function Documentation

◆ apply() [1/3]

template<class Fspc = concepts::Real>
void cluster::TaylorX< Fspc >::apply ( const concepts::Real  X[],
const Fspc  src[],
Fspc  dst[] 
) const
Exceptions
MissingFeature

◆ apply() [2/3]

template<class Fspc >
void cluster::TaylorX< Fspc >::apply ( const XYColExpPtr X,
const Fspc  src[],
Fspc  dst[] 
) const
inline

Definition at line 106 of file taylor.hh.

◆ apply() [3/3]

template<class F = concepts::Real>
virtual void cluster::ExpansionXY< F >::apply ( const XYColExpPtr XY,
const F  src[],
dst[] 
) const
pure virtualinherited

Application of the expansion.

Exceptions
MissingFeature
Parameters
XYExpansion coefficients
srcSource
dstDestination (output)

Implemented in cluster::DMultipoleX< F >, cluster::MultipoleX< concepts::Real >, cluster::MultipoleX< F >, cluster::MultipoleY< concepts::Real >, cluster::DMultipoleY< F >, and cluster::MultipoleY< F >.

◆ blksz()

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

Size of memory used for the expansion.

Implements cluster::ExpansionXY< F >.

Definition at line 46 of file taylor.hh.

◆ evaluate() [1/8]

template<class Fspc = concepts::Real>
void cluster::TaylorX< Fspc >::evaluate ( const bem::Constant3d000< Fspc > &  elm,
const concepts::Real3d c,
XYColExpPtr X[] 
) const
Exceptions
MissingFeature

◆ evaluate() [2/8]

template<class Fspc = concepts::Real>
void cluster::TaylorX< Fspc >::evaluate ( const bem::Constant3d001< Fspc > &  elm,
const concepts::Real3d c,
XYColExpPtr X[] 
) const
Exceptions
MissingFeature

◆ evaluate() [3/8]

template<class Fspc = concepts::Real>
void cluster::TaylorX< Fspc >::evaluate ( const bem::Constant3d002< Fspc > &  elm,
const concepts::Real3d c,
XYColExpPtr X[] 
) const
Exceptions
MissingFeature

◆ evaluate() [4/8]

template<class Fspc = concepts::Real>
void cluster::TaylorX< Fspc >::evaluate ( const bem::Dirac3d000< Fspc > &  elm,
const concepts::Real3d c,
XYColExpPtr X[] 
) const
Exceptions
MissingFeature

◆ evaluate() [5/8]

template<class Fspc = concepts::Real>
void cluster::TaylorX< Fspc >::evaluate ( const bem::Linear3d000< Fspc > &  elm,
const concepts::Real3d c,
XYColExpPtr X[] 
) const
Exceptions
MissingFeature

◆ evaluate() [6/8]

template<class F = concepts::Real>
virtual void cluster::ExpansionXY< F >::evaluate ( const concepts::Element< F > &  elm,
const concepts::Real3d c,
XYColExpPtr XY[] 
) const
pure virtualinherited

Computation of the expansion coefficients.

Exceptions
MissingFeature
Parameters
elmElement
cCluster center
XYExpansion coefficients (output)

Implemented in cluster::DMultipoleX< F >, cluster::MultipoleX< F >, cluster::DMultipoleY< F >, and cluster::MultipoleY< F >.

◆ evaluate() [7/8]

template<class Fspc = concepts::Real>
void cluster::TaylorX< Fspc >::evaluate ( const concepts::Element< Fspc > &  elm,
const concepts::Real3d c,
XYColExpPtr X[] 
) const

Computation of the expansion coefficients.

Exceptions
MissingFeature
Parameters
elmElement
cCluster center
XExpansion coefficients (output)

◆ evaluate() [8/8]

template<class Fspc = concepts::Real>
void cluster::TaylorX< Fspc >::evaluate ( const concepts::Real3d z,
concepts::Real  X[] 
) const

Evaluation of the expansion coefficients of one point

Parameters
zPoint
XExpansion coefficients

◆ gauss()

template<class Fspc = concepts::Real>
uint cluster::TaylorX< Fspc >::gauss ( ) const
inline

Definition at line 48 of file taylor.hh.

◆ getCol()

template<class Fspc >
XYColReal * cluster::TaylorX< Fspc >::getCol ( uint  blksz,
uint  n 
) const
inlinevirtual

Allocates memory for the expansion coefficients and sets it to zero.

Parameters
blkszBlock size of the expansion
nNumber of expansions

Implements cluster::ExpansionXY< F >.

Definition at line 94 of file taylor.hh.

◆ m()

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

Order of the expansion.

Implements cluster::ExpansionXY< F >.

Definition at line 47 of file taylor.hh.

◆ shift() [1/2]

template<class Fspc = concepts::Real>
void cluster::TaylorX< Fspc >::shift ( const concepts::Real3d z,
const concepts::Cmplx  src[],
concepts::Cmplx  dst[] 
) const
inlinevirtual

◆ shift() [2/2]

template<class Fspc >
void cluster::TaylorX< Fspc >::shift ( const concepts::Real3d z,
const concepts::Real  src[],
concepts::Real  dst[] 
) const
inlinevirtual

Shifting the expansion coefficients.

Implements cluster::ExpansionXY< F >.

Definition at line 99 of file taylor.hh.

Member Data Documentation

◆ fee_

template<class Fspc = concepts::Real>
Fspc* cluster::TaylorX< Fspc >::fee_
protected

Definition at line 35 of file taylor.hh.

◆ foo_

template<class Fspc = concepts::Real>
concepts::Real* cluster::TaylorX< Fspc >::foo_
protected

Auxiliary vectors.

Definition at line 34 of file taylor.hh.


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