|
ESyS-Particle
4.0.1
|
2D implementation of simple, serial neighbor table More...
#include <SimpleNTable.h>


Public Member Functions | |
| CSimple2DNTable (const Vec3 &, const Vec3 &, double, bool xcirc=false, bool ycirc=false) | |
| virtual void | getInteractions (set< BasicInteraction, BILess > &, double) |
| void | print () |
Public Member Functions inherited from ASimpleNTable | |
| int | getNumInsertedParticles () const |
| const vector< SimpleParticle > * | getNeighbors (const Vec3 &) const |
| int | getClosestParticleID (const Vec3 &) const |
| void | insertParticle (SimpleParticle) |
Protected Member Functions | |
| virtual int | index (const Vec3 &) const |
| virtual vector< int > | allidx (const Vec3 &) const |
| virtual void | insertParticleCircular (SimpleParticle) |
Additional Inherited Members | |
Protected Attributes inherited from ASimpleNTable | |
| vector< SimpleParticle > * | m_data |
| Vec3 | m_p0 |
| double | m_dim |
| int | m_numInsertedParticles |
2D implementation of simple, serial neighbor table
| CSimple2DNTable::CSimple2DNTable | ( | const Vec3 & | pos, |
| const Vec3 & | dim, | ||
| double | r, | ||
| bool | xcirc = false, |
||
| bool | ycirc = false |
||
| ) |
Constructor
| pos | position of the (xmin,ymin) point |
| dim | size of the space |
| r | grid spacing |
|
protectedvirtual |
Get all indices to which a particle at a given position will be added.
| pos | the position |
Implements ASimpleNTable.
|
virtual |
Put all interactions into a set
| iset | the set into which to put them |
Implements ASimpleNTable.
|
protectedvirtual |
Return the grid index of a position.
| pos | the position |
Implements ASimpleNTable.
|
protectedvirtual |
1.8.1