cluster::ExpansionXY< F > Class Template Referenceabstract
Abstract class for the and the part of a kernel expansion. More...
#include <expansion.hh>
Public Member Functions | |
virtual void | apply (const XYColExpPtr *XY, const F src[], F dst[]) const =0 |
Application of the expansion. More... | |
virtual uint | blksz () const =0 |
Size of memory used for the expansion. More... | |
virtual void | evaluate (const concepts::Element< F > &elm, const concepts::Real3d &c, XYColExpPtr *XY[]) const =0 |
Computation of the expansion coefficients. More... | |
virtual XYColExp * | getCol (uint blksz, uint n) const =0 |
Allocates memory for the expansion coefficients and sets it to zero. More... | |
virtual uint | m () const =0 |
Order of the expansion. More... | |
virtual void | shift (const concepts::Real3d &z, const concepts::Cmplx src[], concepts::Cmplx dst[]) const =0 |
virtual void | shift (const concepts::Real3d &z, const concepts::Real src[], concepts::Real dst[]) const =0 |
Shifting the expansion. More... | |
virtual | ~ExpansionXY () |
Detailed Description
template<class F = concepts::Real>
class cluster::ExpansionXY< F >
Abstract class for the and the part of a kernel expansion.
- Parameters
-
F Field of the space (Real or Cmplx)
Definition at line 98 of file expansion.hh.
Constructor & Destructor Documentation
◆ ~ExpansionXY()
|
inlinevirtual |
Definition at line 100 of file expansion.hh.
Member Function Documentation
◆ apply()
|
pure virtual |
Application of the expansion.
- Exceptions
-
MissingFeature
- Parameters
-
XY Expansion coefficients src Source dst Destination (output)
Implemented in cluster::TaylorY< concepts::Real >, cluster::MultipoleY< concepts::Real >, cluster::MultipoleX< concepts::Real >, and cluster::TaylorX< concepts::Real >.
◆ blksz()
|
pure virtual |
Size of memory used for the expansion.
Implemented in cluster::TaylorY< concepts::Real >, cluster::TaylorX< concepts::Real >, cluster::MultipoleY< concepts::Real >, and cluster::MultipoleX< concepts::Real >.
◆ evaluate()
|
pure virtual |
Computation of the expansion coefficients.
- Exceptions
-
MissingFeature
- Parameters
-
elm Element c Cluster center XY Expansion coefficients (output)
Implemented in cluster::TaylorY< concepts::Real >, cluster::MultipoleY< concepts::Real >, cluster::TaylorX< concepts::Real >, and cluster::MultipoleX< concepts::Real >.
◆ getCol()
|
pure virtual |
Allocates memory for the expansion coefficients and sets it to zero.
- Parameters
-
blksz Block size of the expansion n Number of expansions
Implemented in cluster::DTaylorY< Fspc >, cluster::TaylorY< Fspc >, cluster::TaylorY< concepts::Real >, cluster::DTaylorX< Fspc >, cluster::TaylorX< Fspc >, cluster::TaylorX< concepts::Real >, cluster::MultipoleY< F >, cluster::MultipoleY< concepts::Real >, cluster::MultipoleX< F >, cluster::MultipoleX< concepts::Real >, cluster::DMultipoleY< F >, and cluster::DMultipoleX< F >.
◆ m()
|
pure virtual |
Order of the expansion.
Implemented in cluster::TaylorY< concepts::Real >, cluster::TaylorX< concepts::Real >, cluster::MultipoleY< concepts::Real >, and cluster::MultipoleX< concepts::Real >.
◆ shift() [1/2]
|
pure virtual |
Implemented in cluster::DTaylorY< Fspc >, cluster::TaylorY< Fspc >, cluster::TaylorY< concepts::Real >, cluster::DTaylorX< Fspc >, cluster::TaylorX< Fspc >, cluster::TaylorX< concepts::Real >, cluster::MultipoleY< F >, cluster::MultipoleY< concepts::Real >, cluster::MultipoleX< F >, cluster::MultipoleX< concepts::Real >, cluster::DMultipoleY< F >, and cluster::DMultipoleX< F >.
◆ shift() [2/2]
|
pure virtual |
Shifting the expansion.
- Parameters
-
z Shifting vector src Old expansion coefficients dst New expansion coefficients (output)
Implemented in cluster::DTaylorY< Fspc >, cluster::TaylorY< Fspc >, cluster::TaylorY< concepts::Real >, cluster::DTaylorX< Fspc >, cluster::TaylorX< Fspc >, cluster::TaylorX< concepts::Real >, cluster::MultipoleY< F >, cluster::MultipoleY< concepts::Real >, cluster::MultipoleX< F >, cluster::MultipoleX< concepts::Real >, cluster::DMultipoleY< F >, and cluster::DMultipoleX< F >.
The documentation for this class was generated from the following file:
- cluster/expansion.hh