ESyS-Particle  2.3.2
esys::lsm::RegularBlockGenerator Class Reference

#include <RegularBlockGenerator.h>

Inheritance diagram for esys::lsm::RegularBlockGenerator:
Collaboration diagram for esys::lsm::RegularBlockGenerator:

Public Member Functions

 RegularBlockGenerator (NTable &nTable, ParticlePool &particlePool, const BoundingBox &bBox, const BoolVector &periodicDimensions, double tolerance, double sphereRadius)
virtual ~RegularBlockGenerator ()
virtual double getRadius () const
virtual double getGridRadius () const
virtual void generate ()
- Public Member Functions inherited from esys::lsm::BlockGenerator
 BlockGenerator (NTable &nTable, ParticlePool &particlePool, const BoundingBox &bBox, const BoolVector &periodicDimensions, double tolerance)
virtual ~BlockGenerator ()
virtual void generateSeedParticles ()
virtual SimpleParticle generateParticle (const Vec3 &point)
size_t getNumParticles () const
int getNextId ()
virtual bool particleFits (const SimpleParticle &particle) const
bool is2d () const
bool particleFitsInBBox (const SimpleParticle &particle) const
bool particleFitsWithNeighbours (const SimpleParticle &particle) const
void insertParticle (const SimpleParticle &particle)
double getTolerance () const
const BoundingBoxgetBBox () const
bool contains (const SimpleParticle &particle) const
ParticleIterator getParticleIterator ()
- Public Member Functions inherited from esys::lsm::ParticleGenerator
 ParticleGenerator (NTable &nTable, ParticlePool &particlePool)
virtual ~ParticleGenerator ()

Private Attributes

double m_radius

Additional Inherited Members

- Public Types inherited from esys::lsm::BlockGenerator
typedef NTable::ParticleVector ParticleVector
typedef NTable::ParticleIterator ParticleIterator
typedef std::set< int > IdSet
- Protected Member Functions inherited from esys::lsm::ParticleGenerator
 ParticleGenerator ()
NTablegetNTable ()
const NTablegetNTable () const
ParticlePoolgetParticlePool ()
const ParticlePoolgetParticlePool () const

Constructor & Destructor Documentation

esys::lsm::RegularBlockGenerator::RegularBlockGenerator ( NTable nTable,
ParticlePool particlePool,
const BoundingBox bBox,
const BoolVector periodicDimensions,
double  tolerance,
double  sphereRadius 
)
esys::lsm::RegularBlockGenerator::~RegularBlockGenerator ( )
virtual

Member Function Documentation

void esys::lsm::RegularBlockGenerator::generate ( )
virtual

Implements esys::lsm::BlockGenerator.

References esys::lsm::BlockGenerator::generateSeedParticles().

Here is the call graph for this function:

double esys::lsm::RegularBlockGenerator::getGridRadius ( ) const
virtual

Implements esys::lsm::BlockGenerator.

References m_radius.

double esys::lsm::RegularBlockGenerator::getRadius ( ) const
virtual

Implements esys::lsm::BlockGenerator.

References m_radius.

Member Data Documentation

double esys::lsm::RegularBlockGenerator::m_radius
private

Referenced by getGridRadius(), and getRadius().


The documentation for this class was generated from the following files: