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


Public Types | |
| typedef NeighbourTable< TmplParticle > | Inherited |
| typedef Inherited::Particle | Particle |
| typedef Inherited::ParticleVector | ParticleVector |
| typedef std::set< typename ParticleVector::value_type > | ParticleSet |
| typedef boost::object_pool< Particle > | ParticlePool |
| typedef boost::shared_ptr< ParticlePool > | ParticlePoolPtr |
| typedef std::vector< bool > | BoolVector |
Public Types inherited from esys::lsm::NeighbourTable< TmplParticle > | |
| typedef TmplParticle | Particle |
| typedef std::vector< Particle * > | ParticleVector |
| typedef ForwardIterator< ParticleVector > | ParticleIterator |
| typedef ForwardConstIterator< ParticleVector > | ParticleConstIterator |
Public Member Functions | |
| CircularNeighbourTable (const BoundingBox &bBox, double gridSpacing, const BoolVector &periodicDimensions=BoolVector(3, false), double circBorderWidth=0.0) | |
| CircularNeighbourTable (const BoundingBox &bBox, double gridSpacing, ParticlePoolPtr particlePoolPtr, const BoolVector &periodicDimensions=BoolVector(3, false), double circBorderWidth=0.0) | |
| void | checkPeriodicDimensions () |
| virtual | ~CircularNeighbourTable () |
| void | setCircularBorderWidth (double circBorderWidth, double gridSpacing) |
| void | setCircularBorderWidth (double circBorderWidth) |
| void | resize (const BoundingBox &bBox, double gridSpacing, double circBorderWidth) |
| void | resize (const BoundingBox &bBox, double gridSpacing) |
| void | insertClone (Particle *pParticle, const Vec3 &newPosition) |
| bool | havePeriodicDimensions () const |
| Vec3 | getModdedPosn (const Vec3 &posn) const |
| void | insert (Particle *pParticle) |
| void | insert (Particle &particle) |
| size_t | getNumClonedParticles () const |
| size_t | getNumParticles () const |
| const BoolVector & | getPeriodicDimensions () const |
Public Member Functions inherited from esys::lsm::NeighbourTable< TmplParticle > | |
| 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 | |
| bool | isClone (Particle *p) const |
| ParticleVector | getNonClonedParticles () |
| void | clearClonedParticles () |
Protected Member Functions inherited from esys::lsm::NeighbourTable< TmplParticle > | |
| 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 Attributes | |
| BoolVector | m_periodicDimensions |
| ParticlePoolPtr | m_particlePoolPtr |
| ParticleSet | m_clonedParticleSet |
| int | m_circGridWidth |
| int | m_periodicDimIndex |
| typedef std::vector<bool> esys::lsm::CircularNeighbourTable< TmplParticle >::BoolVector |
| typedef NeighbourTable<TmplParticle> esys::lsm::CircularNeighbourTable< TmplParticle >::Inherited |
| typedef Inherited::Particle esys::lsm::CircularNeighbourTable< TmplParticle >::Particle |
| typedef boost::object_pool<Particle> esys::lsm::CircularNeighbourTable< TmplParticle >::ParticlePool |
| typedef boost::shared_ptr<ParticlePool> esys::lsm::CircularNeighbourTable< TmplParticle >::ParticlePoolPtr |
| typedef std::set<typename ParticleVector::value_type> esys::lsm::CircularNeighbourTable< TmplParticle >::ParticleSet |
| typedef Inherited::ParticleVector esys::lsm::CircularNeighbourTable< TmplParticle >::ParticleVector |
| esys::lsm::CircularNeighbourTable< TmplParticle >::CircularNeighbourTable | ( | const BoundingBox & | bBox, |
| double | gridSpacing, | ||
| const BoolVector & | periodicDimensions = BoolVector(3, false), |
||
| double | circBorderWidth = 0.0 |
||
| ) |
References esys::lsm::CircularNeighbourTable< TmplParticle >::checkPeriodicDimensions(), esys::lsm::NeighbourTable< TmplParticle >::getGridSpacing(), and esys::lsm::CircularNeighbourTable< TmplParticle >::setCircularBorderWidth().

| esys::lsm::CircularNeighbourTable< TmplParticle >::CircularNeighbourTable | ( | const BoundingBox & | bBox, |
| double | gridSpacing, | ||
| ParticlePoolPtr | particlePoolPtr, | ||
| const BoolVector & | periodicDimensions = BoolVector(3, false), |
||
| double | circBorderWidth = 0.0 |
||
| ) |
References esys::lsm::CircularNeighbourTable< TmplParticle >::checkPeriodicDimensions(), esys::lsm::NeighbourTable< TmplParticle >::getGridSpacing(), and esys::lsm::CircularNeighbourTable< TmplParticle >::setCircularBorderWidth().

|
virtual |
| void esys::lsm::CircularNeighbourTable< TmplParticle >::checkPeriodicDimensions |
Referenced by esys::lsm::CircularNeighbourTable< TmplParticle >::CircularNeighbourTable().

|
protected |
| Vec3 esys::lsm::CircularNeighbourTable< TmplParticle >::getModdedPosn | ( | const Vec3 & | posn | ) | const |
References getBBox(), esys::lsm::BoundingBox::getMaxPt(), esys::lsm::BoundingBox::getMinPt(), and esys::lsm::BoundingBox::getSizes().

|
protected |
| size_t esys::lsm::CircularNeighbourTable< TmplParticle >::getNumClonedParticles |
| size_t esys::lsm::CircularNeighbourTable< TmplParticle >::getNumParticles |
Referenced by esys::lsm::BlockGenerator::getNextId(), and esys::lsm::SphereBlockGenerator::getNextId().

| const CircularNeighbourTable< TmplParticle >::BoolVector & esys::lsm::CircularNeighbourTable< TmplParticle >::getPeriodicDimensions |
| bool esys::lsm::CircularNeighbourTable< TmplParticle >::havePeriodicDimensions |
| void esys::lsm::CircularNeighbourTable< TmplParticle >::insert | ( | Particle & | particle | ) |
| void esys::lsm::CircularNeighbourTable< TmplParticle >::insert | ( | Particle * | pParticle | ) |
References getBBox(), esys::lsm::BoundingBox::getSizes(), and Vec3::ZERO.
Referenced by esys::lsm::SphereBlockGenerator::insertParticle(), and esys::lsm::BlockGenerator::insertParticle().


| void esys::lsm::CircularNeighbourTable< TmplParticle >::insertClone | ( | Particle * | pParticle, |
| const Vec3 & | newPosition | ||
| ) |
|
protected |
| void esys::lsm::CircularNeighbourTable< TmplParticle >::resize | ( | const BoundingBox & | bBox, |
| double | gridSpacing | ||
| ) |
| void esys::lsm::CircularNeighbourTable< TmplParticle >::resize | ( | const BoundingBox & | bBox, |
| double | gridSpacing, | ||
| double | circBorderWidth | ||
| ) |
| void esys::lsm::CircularNeighbourTable< TmplParticle >::setCircularBorderWidth | ( | double | circBorderWidth | ) |
| void esys::lsm::CircularNeighbourTable< TmplParticle >::setCircularBorderWidth | ( | double | circBorderWidth, |
| double | gridSpacing | ||
| ) |
Referenced by esys::lsm::CircularNeighbourTable< TmplParticle >::CircularNeighbourTable().

|
private |
|
private |
|
private |
|
private |
|
private |