37 namespace fast_multipole_embedder {
49 void P2M(uint32_t point, uint32_t receiver);
52 void M2M(uint32_t source, uint32_t receiver);
55 void M2L(uint32_t source, uint32_t receiver);
58 void L2L(uint32_t source, uint32_t receiver);
61 void L2P(uint32_t source, uint32_t point,
float& fx,
float& fy);
~LinearQuadtreeExpansion(void)
destructor
double * m_localExp
the big local expansion coeff array
double * m_multiExp
the big multipole expansione coeff array
uint32_t numCoeff() const
number of coefficients per expansions
LinearQuadtreeExpansion(uint32_t precision, const LinearQuadtree &tree)
constructor
uint32_t m_numExp
the number of multipole (locale) expansions
void allocate()
allocates the space for the coeffs
uint32_t m_numCoeff
the number of coeff per expansions
void deallocate()
releases the memory for the coeffs
void P2M(uint32_t point, uint32_t receiver)
adds a point with the given charge to the receiver expansion
const LinearQuadtree & tree()
the quadtree
double * multiExp() const
returns the array with multipole coefficients
BinCoeff< double > binCoef
double * localExp() const
returns the array with local coefficients
Declaration of class LinearQuadtree.
const LinearQuadtree & m_tree
the Quadtree reference
uint32_t sizeInBytes() const
returns the size in bytes
void L2L(uint32_t source, uint32_t receiver)
shifts the source local coefficient to the center of the receiver and adds them
void L2P(uint32_t source, uint32_t point, float &fx, float &fy)
evaluates the derivate of the local expansion at the point and adds the forces to fx fy ...
The namespace for all OGDF objects.
void M2L(uint32_t source, uint32_t receiver)
converts the source multipole coefficient in to a local coefficients at the center of the receiver an...
void M2M(uint32_t source, uint32_t receiver)
shifts the source multipole coefficient to the center of the receiver and adds them ...