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

#include <SimpleBlock.h>

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

Public Member Functions

 SimpleBlockGenerator (unsigned int numX, unsigned int numY, unsigned int numZ, double radius=0.5)
virtual ~SimpleBlockGenerator ()
double getRadius () const
template<typename TmplParticleCollection >
void createParticles (TmplParticleCollection &particleCollection)

Protected Member Functions

Vec3 getPos (const Vec3L &idx)
int getId (const Vec3L &idx)

Private Attributes

double m_radius
Vec3L m_dimCounts

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename TmplParticle >
template<typename TmplParticleCollection >
void esys::lsm::SimpleBlockGenerator< TmplParticle >::createParticles ( TmplParticleCollection &  particleCollection)

Referenced by esys::lsm::SimpleBlockPy::SimpleBlockPy().

Here is the caller graph for this function:

template<typename TmplParticle >
int esys::lsm::SimpleBlockGenerator< TmplParticle >::getId ( const Vec3L idx)
protected
template<typename TmplParticle >
Vec3 esys::lsm::SimpleBlockGenerator< TmplParticle >::getPos ( const Vec3L idx)
protected
template<typename TmplParticle >
double esys::lsm::SimpleBlockGenerator< TmplParticle >::getRadius ( ) const

Member Data Documentation

template<typename TmplParticle = SimpleParticle>
Vec3L esys::lsm::SimpleBlockGenerator< TmplParticle >::m_dimCounts
private
template<typename TmplParticle = SimpleParticle>
double esys::lsm::SimpleBlockGenerator< TmplParticle >::m_radius
private

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