ESyS-Particle  2.3.2
esys::lsm::SimpleBlock< TmplParticle > Class Template Reference

#include <SimpleBlock.h>

Inheritance diagram for esys::lsm::SimpleBlock< TmplParticle >:
Collaboration diagram for esys::lsm::SimpleBlock< TmplParticle >:

Public Types

typedef ParticleCollection
< TmplParticle >::Particle 
Particle
- Public Types inherited from esys::lsm::ParticleCollection< TmplParticle >
typedef TmplParticle Particle
typedef boost::object_pool
< Particle
ParticlePool
typedef boost::shared_ptr
< ParticlePool
ParticlePoolPtr

Public Member Functions

 SimpleBlock (unsigned int numX, unsigned int numY, unsigned int numZ, double radius=0.5)
virtual ~SimpleBlock ()
double getRadius () const
- Public Member Functions inherited from esys::lsm::ParticleCollection< TmplParticle >
 ParticleCollection ()
 ParticleCollection (ParticlePoolPtr particlePoolPtr)
 ParticleCollection (const ParticleCollection &p)
ParticleCollectionoperator= (const ParticleCollection &p)
virtual ~ParticleCollection ()
int getNumParticles () const
BoundingBox getParticleBBox () const
ParticleIterator getParticleIterator ()
ParticleConstIterator getParticleIterator () const
void translateBy (const Vec3 &vec)
void rotate (const Vec3 &rotation, const Vec3 &posn)
void incrementIdBy (typename Particle::Id idIncr)
void insertRef (Particle &p)
ParticlecreateParticle (const Particle &p)

Protected Member Functions

void createParticles ()
- Protected Member Functions inherited from esys::lsm::ParticleCollection< TmplParticle >
void noCheckInsertRef (Particle &p)

Private Attributes

SimpleBlockGenerator< Particlem_generator

Member Typedef Documentation

template<typename TmplParticle = SimpleParticle>
typedef ParticleCollection<TmplParticle>::Particle esys::lsm::SimpleBlock< TmplParticle >::Particle

Constructor & Destructor Documentation

template<typename TmplParticle >
esys::lsm::SimpleBlock< TmplParticle >::SimpleBlock ( unsigned int  numX,
unsigned int  numY,
unsigned int  numZ,
double  radius = 0.5 
)

References esys::lsm::SimpleBlock< TmplParticle >::createParticles().

Here is the call graph for this function:

template<typename TmplParticle >
esys::lsm::SimpleBlock< TmplParticle >::~SimpleBlock ( )
virtual

Member Function Documentation

template<typename TmplParticle >
void esys::lsm::SimpleBlock< TmplParticle >::createParticles ( )
protected

Referenced by esys::lsm::SimpleBlock< TmplParticle >::SimpleBlock().

Here is the caller graph for this function:

template<typename TmplParticle >
double esys::lsm::SimpleBlock< TmplParticle >::getRadius ( ) const

Member Data Documentation

template<typename TmplParticle = SimpleParticle>
SimpleBlockGenerator<Particle> esys::lsm::SimpleBlock< TmplParticle >::m_generator
private

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