Class LaplaceFmm¶
Defined in File laplace.h
Inheritance Relationships¶
Base Type¶
public exafmm_t::FmmScaleInvariant< real_t >
(Template Class FmmScaleInvariant)
Class Documentation¶
-
class exafmm_t::LaplaceFmm : public exafmm_t::FmmScaleInvariant<real_t>¶
A derived FMM class for Laplace kernel.
Public Functions
-
inline LaplaceFmm()¶
-
inline LaplaceFmm(int p_, int ncrit_, std::string filename_ = std::string())¶
-
inline void potential_P2P(RealVec &src_coord, RealVec &src_value, RealVec &trg_coord, RealVec &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, RealVec &src_value, RealVec &trg_coord, RealVec &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.
-
inline LaplaceFmm()¶