|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
43 namespace fast_multipole_embedder {
54 void P2M(uint32_t point, uint32_t receiver);
57 void M2M(uint32_t source, uint32_t receiver);
60 void M2L(uint32_t source, uint32_t receiver);
63 void L2L(uint32_t source, uint32_t receiver);
66 void L2P(uint32_t source, uint32_t point,
float& fx,
float& fy);
The namespace for all OGDF objects.
void allocate()
allocates the space for the coeffs
uint32_t numCoeff() const
number of coefficients per expansions
void P2M(uint32_t point, uint32_t receiver)
adds a point with the given charge to the receiver expansion
Definition of utility functions for FME layout.
void L2L(uint32_t source, uint32_t receiver)
shifts the source local coefficient to the center of the receiver and adds them
uint32_t m_numExp
the number of multipole (locale) expansions
double * m_localExp
the big local expansion coeff array
BinCoeff< double > binCoef
const LinearQuadtree & m_tree
the Quadtree reference
double * m_multiExp
the big multipole expansione coeff array
~LinearQuadtreeExpansion(void)
destructor
uint32_t sizeInBytes() const
returns the size in bytes
const LinearQuadtree & tree()
the quadtree
void deallocate()
releases the memory for the coeffs
void M2M(uint32_t source, uint32_t receiver)
shifts the source multipole coefficient to the center of the receiver and adds them
double * multiExp() const
returns the array with multipole coefficients
uint32_t m_numCoeff
the number of coeff per expansions
LinearQuadtreeExpansion(uint32_t precision, const LinearQuadtree &tree)
constructor
double * localExp() const
returns the array with local coefficients
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
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...