ESyS-Particle
4.0.1
|
#include <HexagBlockIterator.h>
Public Member Functions | |
HexagBlockIterator () | |
HexagBlockIterator (int numI, int numJ, int numK, double sphereRadius, ClosePackOrientation orientation=DEFAULT_ORIENT) |
Class for iterating over the centre-points of spheres arranged in a hexagonal-close-packed block.
esys::lsm::HexagBlockIterator::HexagBlockIterator | ( | ) | [inline] |
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.
numI | number of spheres in the i direction. |
numJ | number of spheres in the j direction. |
numK | number of spheres in the k direction. |
sphereRadius | radius of spheres in the packing. |
orientation | specifies the axis alignment of layers. |
References esys::lsm::ClosePackIterator::getRadius().