Template Class DummyFmm

Inheritance Relationships

Base Type

Class Documentation

template<typename T>
class exafmm_t::DummyFmm : public exafmm_t::FmmBase<T>

A derived FMM class, assuming that all sources have a unit charge. Kernel functions only compute monopoles. This is used for testing tree and list construction.

Public Functions

inline DummyFmm()
inline DummyFmm(int ncrit_)
inline ivec3 octant2coord(int octant)

Given the octant of a node, return a triplet’s relative postion to its parent.

Parameters

octant – Octant of a node, integer from 0 to 7

Returns

Triplet of node’s relative position to its parent, each element is -1 or 1

inline virtual void P2M(NodePtrs<T> &leafs)

Dummy P2M operator.

inline virtual void M2M(Node<T> *node)

Dummy M2M operator.

inline void M2L(NodePtrs<T> &nonleafs)

Dummy M2L operator.

inline void P2L(Nodes<T> &nodes)

Dummy P2L operator.

inline void M2P(NodePtrs<T> &leafs)

Dummy M2P operator.

inline virtual void L2L(Node<T> *node)

Dummy L2L operator.

inline virtual void L2P(NodePtrs<T> &leafs)

Dummy L2P operator.

inline void P2P(NodePtrs<T> &leafs)

Dummy P2P operator.

inline virtual void potential_P2P(RealVec &src_coord, std::vector<T> &src_value, RealVec &trg_coord, std::vector<T> &trg_value)
inline virtual void gradient_P2P(RealVec &src_coord, std::vector<T> &src_value, RealVec &trg_coord, std::vector<T> &trg_value)
inline virtual void M2L(Nodes<T> &nodes)

M2L operator.