ESyS-Particle  2.3
esys::lsm::ParticleGenerator Class Referenceabstract

#include <ParticleGenerator.h>

Inheritance diagram for esys::lsm::ParticleGenerator:
Collaboration diagram for esys::lsm::ParticleGenerator:

Public Types

typedef CircularNeighbourTable
< SimpleParticle > 
NTable
 
typedef boost::object_pool
< SimpleParticle > 
ParticlePool
 

Public Member Functions

 ParticleGenerator (NTable &nTable, ParticlePool &particlePool)
 
virtual ~ParticleGenerator ()
 
virtual void generate ()=0
 

Protected Member Functions

 ParticleGenerator ()
 
NTable & getNTable ()
 
const NTable & getNTable () const
 
ParticlePool & getParticlePool ()
 
const ParticlePool & getParticlePool () const
 

Private Attributes

NTable * m_pNTable
 
ParticlePool * m_pParticlePool
 

Member Typedef Documentation

Constructor & Destructor Documentation

esys::lsm::ParticleGenerator::ParticleGenerator ( NTable &  nTable,
ParticlePool &  particlePool 
)
esys::lsm::ParticleGenerator::~ParticleGenerator ( )
virtual
esys::lsm::ParticleGenerator::ParticleGenerator ( )
protected

Member Function Documentation

virtual void esys::lsm::ParticleGenerator::generate ( )
pure virtual
const ParticleGenerator::NTable & esys::lsm::ParticleGenerator::getNTable ( ) const
protected

References m_pNTable.

ParticleGenerator::ParticlePool & esys::lsm::ParticleGenerator::getParticlePool ( )
protected

References m_pParticlePool.

Referenced by esys::lsm::SphereBlockGenerator::insertParticle(), and esys::lsm::BlockGenerator::insertParticle().

Here is the caller graph for this function:

const ParticleGenerator::ParticlePool & esys::lsm::ParticleGenerator::getParticlePool ( ) const
protected

References m_pParticlePool.

Member Data Documentation

NTable* esys::lsm::ParticleGenerator::m_pNTable
private

Referenced by getNTable().

ParticlePool* esys::lsm::ParticleGenerator::m_pParticlePool
private

Referenced by getParticlePool().


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