OpenGraph DrawingFramework

v. 2022.02 (Dogwood)

#include <ogdf/energybased/fast_multipole_embedder/LinearQuadtreeExpansion.h>

Public Member Functions

constructor More...

destructor More...

void L2L (uint32_t source, uint32_t receiver)
shifts the source local coefficient to the center of the receiver and adds them More...

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 More...

double * localExp () const
returns the array with local coefficients More...

void M2L (uint32_t source, uint32_t receiver)
converts the source multipole coefficient in to a local coefficients at the center of the receiver and adds them More...

void M2M (uint32_t source, uint32_t receiver)
shifts the source multipole coefficient to the center of the receiver and adds them More...

double * multiExp () const
returns the array with multipole coefficients More...

uint32_t numCoeff () const
number of coefficients per expansions More...

void P2M (uint32_t point, uint32_t receiver)
adds a point with the given charge to the receiver expansion More...

uint32_t sizeInBytes () const
returns the size in bytes More...

Public Attributes

BinCoeff< double > binCoef

double * m_localExp
the big local expansion coeff array More...

double * m_multiExp
the big multipole expansione coeff array More...

uint32_t m_numCoeff
the number of coeff per expansions More...

uint32_t m_numExp
the number of multipole (locale) expansions More...

Private Member Functions

void allocate ()
allocates the space for the coeffs More...

void deallocate ()
releases the memory for the coeffs More...

Detailed Description

Definition at line 39 of file LinearQuadtreeExpansion.h.

constructor

destructor

◆ allocate()

private

allocates the space for the coeffs

◆ deallocate()

private

releases the memory for the coeffs

◆ L2L()

shifts the source local coefficient to the center of the receiver and adds them

◆ L2P()

 void ogdf::fast_multipole_embedder::LinearQuadtreeExpansion::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

◆ localExp()

inline

returns the array with local coefficients

Definition at line 70 of file LinearQuadtreeExpansion.h.

◆ M2L()

converts the source multipole coefficient in to a local coefficients at the center of the receiver and adds them

◆ M2M()

shifts the source multipole coefficient to the center of the receiver and adds them

◆ multiExp()

inline

returns the array with multipole coefficients

Definition at line 67 of file LinearQuadtreeExpansion.h.

◆ numCoeff()

inline

number of coefficients per expansions

Definition at line 73 of file LinearQuadtreeExpansion.h.

◆ sizeInBytes()

inline

returns the size in bytes

Definition at line 64 of file LinearQuadtreeExpansion.h.

◆ tree()

inline

Definition at line 76 of file LinearQuadtreeExpansion.h.

◆ binCoef

Definition at line 101 of file LinearQuadtreeExpansion.h.

◆ m_localExp

the big local expansion coeff array

Definition at line 92 of file LinearQuadtreeExpansion.h.

◆ m_multiExp

the big multipole expansione coeff array

Definition at line 89 of file LinearQuadtreeExpansion.h.

◆ m_numCoeff

the number of coeff per expansions

Definition at line 99 of file LinearQuadtreeExpansion.h.

◆ m_numExp

the number of multipole (locale) expansions

Definition at line 96 of file LinearQuadtreeExpansion.h.