|
ESyS-Particle
2.3.4
|
#include <SimpleNTable3D.h>


Public Member Functions | |
| CSimple3DNTable (const Vec3 &, const Vec3 &, double, bool xcirc=false, bool ycirc=false, bool zcirc=false) | |
| virtual void | getInteractions (set< BasicInteraction, BILess > &, double) |
| void | print () |
| template<class TmplInteractionValidator > | |
| InteractionSet | getInteractions (const TmplInteractionValidator &validator) const |
Public Member Functions inherited from ASimpleNTable | |
| ASimpleNTable () | |
| virtual | ~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) |
Private Attributes | |
| Vec3 | m_xshift |
| Vec3 | m_yshift |
| Vec3 | m_zshift |
| int | m_xsize |
| int | m_ysize |
| int | m_zsize |
| bool | m_xcirc |
| bool | m_ycirc |
| bool | m_zcirc |
Additional Inherited Members | |
Protected Attributes inherited from ASimpleNTable | |
| vector< SimpleParticle > * | m_data |
| Vec3 | m_p0 |
| double | m_dim |
| int | m_numInsertedParticles |
| CSimple3DNTable::CSimple3DNTable | ( | const Vec3 & | pos, |
| const Vec3 & | dim, | ||
| double | r, | ||
| bool | xcirc = false, |
||
| bool | ycirc = false, |
||
| bool | zcirc = false |
||
| ) |
Constructor
| pos | position of the (xmin,ymin,zmin) point |
| dim | size of the space |
| r | grid spacing |
References ASimpleNTable::m_data, ASimpleNTable::m_dim, ASimpleNTable::m_p0, m_xcirc, m_xshift, m_xsize, m_ycirc, m_yshift, m_ysize, m_zcirc, m_zsize, Vec3::X(), Vec3::Y(), and Vec3::Z().

|
protectedvirtual |
Get all indices to which a particle at a given position will be added.
| pos | the position |
Implements ASimpleNTable.
References ASimpleNTable::m_dim, ASimpleNTable::m_p0, m_xsize, m_ysize, m_zsize, Vec3::X(), Vec3::Y(), and Vec3::Z().
Referenced by insertParticleCircular().


|
inline |
References esys::lsm::bpu::iter(), ASimpleNTable::m_data, m_xsize, m_ysize, and m_zsize.

|
virtual |
Put all interactions into a set
| iset | the set into which to put them |
| dmax | max distance for the creation of an interaction |
Implements ASimpleNTable.
References esys::lsm::bpu::iter(), ASimpleNTable::m_data, m_xsize, m_ysize, and m_zsize.

|
protectedvirtual |
Return the grid index of a position.
| pos | the position |
Implements ASimpleNTable.
References ASimpleNTable::m_dim, ASimpleNTable::m_p0, m_xsize, m_ysize, Vec3::X(), Vec3::Y(), and Vec3::Z().

|
protectedvirtual |
insert circular images of the particle
| cbp | the particle |
Implements ASimpleNTable.
References allidx(), SimpleParticle::getPos(), ASimpleNTable::m_data, ASimpleNTable::m_dim, ASimpleNTable::m_p0, m_xcirc, m_xshift, m_xsize, SimpleParticle::moveTo(), and Vec3::X().

| void CSimple3DNTable::print | ( | ) |
References esys::lsm::bpu::iter(), ASimpleNTable::m_data, m_xsize, m_ysize, and m_zsize.

|
private |
Referenced by CSimple3DNTable(), and insertParticleCircular().
|
private |
Referenced by CSimple3DNTable(), and insertParticleCircular().
|
private |
Referenced by allidx(), CSimple3DNTable(), getInteractions(), index(), insertParticleCircular(), and print().
|
private |
Referenced by CSimple3DNTable().
|
private |
Referenced by CSimple3DNTable().
|
private |
Referenced by allidx(), CSimple3DNTable(), getInteractions(), index(), and print().
|
private |
Referenced by CSimple3DNTable().
|
private |
|
private |
Referenced by allidx(), CSimple3DNTable(), getInteractions(), and print().