Class HelmholtzFmm

Inheritance Relationships

Base Type

Class Documentation

class exafmm_t::HelmholtzFmm : public exafmm_t::Fmm<complex_t>

A derived FMM class for Helmholtz kernel.

Public Functions

inline HelmholtzFmm()
inline HelmholtzFmm(int p_, int ncrit_, complex_t wavek_, std::string filename_ = std::string())
inline void potential_P2P(RealVec &src_coord, ComplexVec &src_value, RealVec &trg_coord, ComplexVec &trg_value)

Compute potentials at targets induced by sources directly.

Parameters
  • src_coord – Vector of coordinates of sources.

  • src_value – Vector of charges of sources.

  • trg_coord – Vector of coordinates of targets.

  • trg_value – Vector of potentials of targets.

inline void gradient_P2P(RealVec &src_coord, ComplexVec &src_value, RealVec &trg_coord, ComplexVec &trg_value)

Compute potentials and gradients at targets induced by sources directly.

Parameters
  • src_coord – Vector of coordinates of sources.

  • src_value – Vector of charges of sources.

  • trg_coord – Vector of coordinates of targets.

  • trg_value – Vector of potentials of targets.

Public Members

complex_t wavek

Wave number k.