ESyS-Particle  4.0.1
Public Member Functions
esys::lsm::HexagBlockIterator Class Reference

#include <HexagBlockIterator.h>

Inheritance diagram for esys::lsm::HexagBlockIterator:
Inheritance graph
[legend]
Collaboration diagram for esys::lsm::HexagBlockIterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HexagBlockIterator ()
 HexagBlockIterator (int numI, int numJ, int numK, double sphereRadius, ClosePackOrientation orientation=DEFAULT_ORIENT)

Detailed Description

Class for iterating over the centre-points of spheres arranged in a hexagonal-close-packed block.


Constructor & Destructor Documentation

Creates default empty iterator.

esys::lsm::HexagBlockIterator::HexagBlockIterator ( int  numI,
int  numJ,
int  numK,
double  sphereRadius,
ClosePackOrientation  orientation = DEFAULT_ORIENT 
) [inline]

Creates an iterator which will iterate over numI*numJ*numK centre points of spheres with radius sphereRadius.

Parameters:
numInumber of spheres in the i direction.
numJnumber of spheres in the j direction.
numKnumber of spheres in the k direction.
sphereRadiusradius of spheres in the packing.
orientationspecifies the axis alignment of layers.

References esys::lsm::ClosePackIterator::getRadius().

Here is the call graph for this function:


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