Go to the documentation of this file.
14 #ifndef ESYS_LSMNEIGHBOURTABLE_H
15 #define ESYS_LSMNEIGHBOURTABLE_H
22 #include <boost/shared_array.hpp>
31 template <
class TmplParticle>
BoundingBox m_bBox
Definition: NeighbourTable.h:109
void insert(Particle *pParticle)
Definition: NeighbourTable.hpp:233
NeighbourTable(const BoundingBox &bBox, double gridSpacing)
Definition: NeighbourTable.hpp:22
void clearAndRecomputeGrid(const BoundingBox &bBox, double gridSpacing)
Definition: NeighbourTable.hpp:297
const Vec3L & getDimensions() const
Definition: NeighbourTable.hpp:103
TmplParticle Particle
Definition: NeighbourTable.h:35
Definition: NeighbourTable.h:33
Vec3L m_maxIndex
Definition: NeighbourTable.h:107
const Vec3L & getMaxVecIndex() const
Definition: NeighbourTable.hpp:165
Vec3L m_dimensions
Definition: NeighbourTable.h:105
ParticleVectorArrayPtr m_tablePtr
Definition: NeighbourTable.h:111
void insertInTable(Particle *pParticle, const Vec3L &minIdx, const Vec3L &maxIdx)
Definition: NeighbourTable.hpp:262
double m_gridSpacing
Definition: NeighbourTable.h:108
ParticleVector getNeighbourVector(const Vec3 &pt, double radius) const
Definition: NeighbourTable.hpp:181
const Vec3 & getMinPt() const
Definition: NeighbourTable.hpp:117
ParticleIterator getParticleIterator()
Definition: NeighbourTable.hpp:249
int getScalarIndex(int xIdx, int yIdx, int zIdx) const
Definition: NeighbourTable.hpp:129
void addInserted(Particle *pParticle)
Definition: NeighbourTable.hpp:278
boost::shared_array< ParticleVector > ParticleVectorArrayPtr
Definition: NeighbourTable.h:103
3D bounding box
Definition: BoundingBox.h:28
Definition: CheckPointable.cpp:17
std::vector< Particle * > ParticleVector
Definition: NeighbourTable.h:36
ParticleVector m_insertedParticles
Definition: NeighbourTable.h:110
const Vec3L & getMinVecIndex() const
Definition: NeighbourTable.hpp:158
double getGridSpacing() const
Definition: NeighbourTable.hpp:78
void clear()
Definition: NeighbourTable.hpp:65
ParticleVector getInsertedParticles() const
Definition: NeighbourTable.hpp:291
size_t size() const
Definition: NeighbourTable.hpp:123
Vec3L m_minIndex
Definition: NeighbourTable.h:106
virtual ~NeighbourTable()
Definition: NeighbourTable.hpp:60
int getNumCells() const
Definition: NeighbourTable.hpp:284
ForwardIterator< ParticleVector > ParticleIterator
Definition: NeighbourTable.h:83
Definition: StlIterator.h:30
Definition: StlIterator.h:76
void resize(const BoundingBox &bBox, double gridSpacing)
Definition: NeighbourTable.hpp:84
const BoundingBox & getBBox() const
Definition: NeighbourTable.hpp:110
ParticleVector getUniqueNeighbourVector(const Vec3 &pt, double radius) const
Definition: NeighbourTable.hpp:206
ForwardConstIterator< ParticleVector > ParticleConstIterator
Definition: NeighbourTable.h:84
Vec3L getVecIndex(const Vec3 &pt) const
Definition: NeighbourTable.hpp:172