ESyS-Particle  2.3.2
esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle > Class Template Reference

#include <ClosePackBlock.h>

Inheritance diagram for esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >:
Collaboration diagram for esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >:

Public Types

typedef TmplClosePackIterator CentrePointIterator

Public Member Functions

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

Private Attributes

double m_radius
Vec3L m_dimCounts
ClosePackOrientation m_orientation

Member Typedef Documentation

template<typename TmplClosePackIterator, typename TmplParticle>
typedef TmplClosePackIterator esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >::CentrePointIterator

Constructor & Destructor Documentation

template<typename TmplClosePackIterator , typename TmplParticle >
esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >::ClosePackBlockGenerator ( unsigned int  numX,
unsigned int  numY,
unsigned int  numZ,
double  radius = 0.5,
ClosePackOrientation  orientation = DEFAULT_ORIENT 
)
template<typename TmplClosePackIterator , typename TmplParticle >
esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >::~ClosePackBlockGenerator ( )
virtual

Member Function Documentation

template<typename TmplClosePackIterator , typename TmplParticle >
template<typename TmplParticleCollection >
void esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >::createParticles ( TmplParticleCollection &  particleCollection)

References esys::lsm::DEFAULT_ORIENT, and esys::lsm::XYZ.

Referenced by esys::lsm::CubicBlockPy::CubicBlockPy(), and esys::lsm::HexagBlockPy::HexagBlockPy().

Here is the caller graph for this function:

template<typename TmplClosePackIterator , typename TmplParticle >
double esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >::getRadius ( ) const

Member Data Documentation

template<typename TmplClosePackIterator, typename TmplParticle>
Vec3L esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >::m_dimCounts
private
template<typename TmplClosePackIterator, typename TmplParticle>
ClosePackOrientation esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >::m_orientation
private
template<typename TmplClosePackIterator, typename TmplParticle>
double esys::lsm::ClosePackBlockGenerator< TmplClosePackIterator, TmplParticle >::m_radius
private

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