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


Public Types | |
| typedef TmplParticle | Particle |
| typedef std::vector< Particle * > | ParticleVector |
| typedef ForwardIterator< ParticleVector > | ParticleIterator |
| typedef ForwardConstIterator< ParticleVector > | ParticleConstIterator |
Public Member Functions | |
| NeighbourTable (const BoundingBox &bBox, double gridSpacing) | |
| NeighbourTable (const NeighbourTable &nTable) | |
| virtual | ~NeighbourTable () |
| void | clear () |
| double | getGridSpacing () const |
| void | resize (const BoundingBox &bBox, double gridSpacing) |
| const Vec3L & | getDimensions () const |
| const BoundingBox & | getBBox () const |
| const Vec3 & | getMinPt () const |
| size_t | size () const |
| int | getScalarIndex (int xIdx, int yIdx, int zIdx) const |
| int | getScalarIndex (const Vec3L &index) const |
| int | getScalarIndex (const Vec3 &pt) const |
| const Vec3L & | getMinVecIndex () const |
| const Vec3L & | getMaxVecIndex () const |
| Vec3L | getVecIndex (const Vec3 &pt) const |
| ParticleVector | getNeighbourVector (const Vec3 &pt, double radius) const |
| ParticleVector | getUniqueNeighbourVector (const Vec3 &pt, double radius) const |
| ParticleVector | getNeighbourVector (const Vec3 &pt) const |
| void | insert (Particle *pParticle) |
| void | insert (Particle &particle) |
| ParticleIterator | getParticleIterator () |
| ParticleConstIterator | getParticleIterator () const |
Protected Member Functions | |
| void | insertInTable (Particle *pParticle, const Vec3L &minIdx, const Vec3L &maxIdx) |
| void | addInserted (Particle *pParticle) |
| int | getNumCells () const |
| ParticleVector | getInsertedParticles () const |
| void | clearAndRecomputeGrid (const BoundingBox &bBox, double gridSpacing) |
Private Types | |
| typedef boost::shared_array< ParticleVector > | ParticleVectorArrayPtr |
Private Attributes | |
| Vec3L | m_dimensions |
| Vec3L | m_minIndex |
| Vec3L | m_maxIndex |
| double | m_gridSpacing |
| BoundingBox | m_bBox |
| ParticleVector | m_insertedParticles |
| ParticleVectorArrayPtr | m_tablePtr |
| typedef TmplParticle esys::lsm::NeighbourTable< TmplParticle >::Particle |
| typedef ForwardConstIterator<ParticleVector> esys::lsm::NeighbourTable< TmplParticle >::ParticleConstIterator |
| typedef ForwardIterator<ParticleVector> esys::lsm::NeighbourTable< TmplParticle >::ParticleIterator |
| typedef std::vector<Particle *> esys::lsm::NeighbourTable< TmplParticle >::ParticleVector |
|
private |
| esys::lsm::NeighbourTable< TmplParticle >::NeighbourTable | ( | const BoundingBox & | bBox, |
| double | gridSpacing | ||
| ) |
References esys::lsm::NeighbourTable< TmplParticle >::resize().

| esys::lsm::NeighbourTable< TmplParticle >::NeighbourTable | ( | const NeighbourTable< TmplParticle > & | nTable | ) |
References esys::lsm::NeighbourTable< TmplParticle >::getNumCells(), and esys::lsm::NeighbourTable< TmplParticle >::m_tablePtr.

|
virtual |
|
protected |
| void esys::lsm::NeighbourTable< TmplParticle >::clear |
|
protected |
| const BoundingBox & esys::lsm::NeighbourTable< TmplParticle >::getBBox |
| const Vec3L & esys::lsm::NeighbourTable< TmplParticle >::getDimensions |
| double esys::lsm::NeighbourTable< TmplParticle >::getGridSpacing |
Referenced by esys::lsm::CircularNeighbourTable< TmplParticle >::CircularNeighbourTable().

|
protected |
| const Vec3L & esys::lsm::NeighbourTable< TmplParticle >::getMaxVecIndex |
| const Vec3 & esys::lsm::NeighbourTable< TmplParticle >::getMinPt |
References getBBox(), and esys::lsm::BoundingBox::getMinPt().

| const Vec3L & esys::lsm::NeighbourTable< TmplParticle >::getMinVecIndex |
| NeighbourTable< TmplParticle >::ParticleVector esys::lsm::NeighbourTable< TmplParticle >::getNeighbourVector | ( | const Vec3 & | pt | ) | const |
| NeighbourTable< TmplParticle >::ParticleVector esys::lsm::NeighbourTable< TmplParticle >::getNeighbourVector | ( | const Vec3 & | pt, |
| double | radius | ||
| ) | const |
References esys::lsm::Vec3L::X(), esys::lsm::Vec3L::Y(), and esys::lsm::Vec3L::Z().
Referenced by esys::lsm::BlockGenerator::particleFitsWithNeighbours().


|
protected |
Referenced by esys::lsm::NeighbourTable< TmplParticle >::NeighbourTable().

| NeighbourTable< TmplParticle >::ParticleIterator esys::lsm::NeighbourTable< TmplParticle >::getParticleIterator |
| NeighbourTable< TmplParticle >::ParticleConstIterator esys::lsm::NeighbourTable< TmplParticle >::getParticleIterator |
| int esys::lsm::NeighbourTable< TmplParticle >::getScalarIndex | ( | const Vec3 & | pt | ) | const |
| int esys::lsm::NeighbourTable< TmplParticle >::getScalarIndex | ( | const Vec3L & | index | ) | const |
References esys::lsm::Vec3L::X(), esys::lsm::Vec3L::Y(), and esys::lsm::Vec3L::Z().

| int esys::lsm::NeighbourTable< TmplParticle >::getScalarIndex | ( | int | xIdx, |
| int | yIdx, | ||
| int | zIdx | ||
| ) | const |
| NeighbourTable< TmplParticle >::ParticleVector esys::lsm::NeighbourTable< TmplParticle >::getUniqueNeighbourVector | ( | const Vec3 & | pt, |
| double | radius | ||
| ) | const |
Referenced by esys::lsm::SphereBlockGenerator::checkAFit(), esys::lsm::SphereBlockGenerator::getClosestNeighbors(), and esys::lsm::RandomBlockGenerator::getClosestNeighbors().

| Vec3L esys::lsm::NeighbourTable< TmplParticle >::getVecIndex | ( | const Vec3 & | pt | ) | const |
| void esys::lsm::NeighbourTable< TmplParticle >::insert | ( | Particle & | particle | ) |
| void esys::lsm::NeighbourTable< TmplParticle >::insert | ( | Particle * | pParticle | ) |
|
protected |
References esys::lsm::Vec3L::X(), esys::lsm::Vec3L::Y(), and esys::lsm::Vec3L::Z().

| void esys::lsm::NeighbourTable< TmplParticle >::resize | ( | const BoundingBox & | bBox, |
| double | gridSpacing | ||
| ) |
Referenced by esys::lsm::NeighbourTable< TmplParticle >::NeighbourTable().

| size_t esys::lsm::NeighbourTable< TmplParticle >::size |
Return the number of particles inserted into this table.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by esys::lsm::NeighbourTable< TmplParticle >::NeighbourTable().