cluster::TaylorY< Fspc > Class Template Referenceabstract

$Y$ part of the Taylor kernel expansion More...

#include <taylor.hh>

Inheritance diagram for cluster::TaylorY< Fspc >:
cluster::ExpansionXY< concepts::Real >

Public Member Functions

void apply (const concepts::Real Y[], const Fspc src[], Fspc dst[]) const
 
virtual void apply (const XYColExpPtr *XY, const concepts::Real src[], concepts::Real dst[]) const=0
 Application of the expansion. More...
 
void apply (const XYColExpPtr *Y, const Fspc src[], Fspc dst[]) const
 
uint blksz () const
 
virtual uint blksz () const=0
 Size of memory used for the expansion. More...
 
void evaluate (const bem::Constant3d000< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *Y[]) const
 
void evaluate (const bem::Constant3d001< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *Y[]) const
 
void evaluate (const bem::Constant3d002< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *Y[]) const
 
void evaluate (const bem::Dirac3d000< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *Y[]) const
 
void evaluate (const bem::Linear3d000< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *Y[]) const
 
virtual void evaluate (const concepts::Element< concepts::Real > &elm, const concepts::Real3d &c, XYColExpPtr *XY[]) const=0
 Computation of the expansion coefficients. More...
 
void evaluate (const concepts::Element< Fspc > &elm, const concepts::Real3d &c, XYColExpPtr *Y[]) const
 Computation of the expansion coefficients. More...
 
void evaluate (const concepts::Real3d &z, concepts::Real Y[]) const
 Evaluation of the expansion coefficients of one point. More...
 
uint gauss () const
 
XYColRealgetCol (uint blksz, uint n) const
 Allocates memory for the expansion coefficients and sets it to zero. More...
 
uint m () const
 
virtual uint m () const=0
 Order of the expansion. More...
 
void shift (const concepts::Real3d &z, const concepts::Cmplx src[], concepts::Cmplx dst[]) const
 
void shift (const concepts::Real3d &z, const concepts::Real src[], concepts::Real dst[]) const
 Shifting the expansion. More...
 
template<class F >
void shift (const concepts::Real3d &z, const F src[], F dst[], uint foo) const
 
 TaylorY (uint m, uint gauss)
 Constructor. More...
 
 ~TaylorY ()
 

Protected Attributes

Fspc * fee_
 
concepts::Realfoo_
 Auxiliary vectors. More...
 

Private Attributes

uint blksz_
 Memory used for expansion coefficients. More...
 
uint gauss_
 Number of quadrature points. More...
 
uint m_
 Expansion order. More...
 

Detailed Description

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

$Y$ part of the Taylor kernel expansion

Parameters
FspcField of the space (Real or Cmplx)

Definition at line 224 of file taylor.hh.

Constructor & Destructor Documentation

◆ TaylorY()

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

Constructor.

Parameters
mExpansion order
gaussNumber of quadrature points

◆ ~TaylorY()

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

Definition at line 245 of file taylor.hh.

Member Function Documentation

◆ apply() [1/3]

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

◆ apply() [2/3]

virtual void cluster::ExpansionXY< concepts::Real >::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::TaylorY< concepts::Real >, cluster::MultipoleY< concepts::Real >, cluster::MultipoleX< concepts::Real >, and cluster::TaylorX< concepts::Real >.

◆ apply() [3/3]

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

Definition at line 306 of file taylor.hh.

◆ blksz() [1/2]

template<class Fspc = concepts::Real>
uint cluster::TaylorY< Fspc >::blksz ( ) const
inline

Definition at line 247 of file taylor.hh.

◆ blksz() [2/2]

virtual uint cluster::ExpansionXY< concepts::Real >::blksz ( ) const
pure virtualinherited

◆ evaluate() [1/8]

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

◆ evaluate() [2/8]

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

◆ evaluate() [3/8]

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

◆ evaluate() [4/8]

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

◆ evaluate() [5/8]

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

◆ evaluate() [6/8]

virtual void cluster::ExpansionXY< concepts::Real >::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::TaylorY< concepts::Real >, cluster::MultipoleY< concepts::Real >, cluster::TaylorX< concepts::Real >, and cluster::MultipoleX< concepts::Real >.

◆ evaluate() [7/8]

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

Computation of the expansion coefficients.

Exceptions
MissingFeature
Parameters
elmElement
cCluster center
YExpansion coefficients (output)

◆ evaluate() [8/8]

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

Evaluation of the expansion coefficients of one point.

Parameters
zPoint
YExpansion coefficients

◆ gauss()

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

Definition at line 249 of file taylor.hh.

◆ getCol()

template<class Fspc >
XYColReal * cluster::TaylorY< 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< concepts::Real >.

Definition at line 294 of file taylor.hh.

◆ m() [1/2]

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

Definition at line 248 of file taylor.hh.

◆ m() [2/2]

◆ shift() [1/3]

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

◆ shift() [2/3]

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

Shifting the expansion.

Parameters
zShifting vector
srcOld expansion coefficients
dstNew expansion coefficients (output)

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

Definition at line 299 of file taylor.hh.

◆ shift() [3/3]

template<class Fspc = concepts::Real>
template<class F >
void cluster::TaylorY< Fspc >::shift ( const concepts::Real3d z,
const F  src[],
dst[],
uint  foo 
) const

Member Data Documentation

◆ blksz_

template<class Fspc = concepts::Real>
uint cluster::TaylorY< Fspc >::blksz_
private

Memory used for expansion coefficients.

Definition at line 229 of file taylor.hh.

◆ fee_

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

Definition at line 236 of file taylor.hh.

◆ foo_

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

Auxiliary vectors.

Definition at line 235 of file taylor.hh.

◆ gauss_

template<class Fspc = concepts::Real>
uint cluster::TaylorY< Fspc >::gauss_
private

Number of quadrature points.

Definition at line 231 of file taylor.hh.

◆ m_

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

Expansion order.

Definition at line 227 of file taylor.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