ESyS-Particle
4.0.1
|
#include <CubicBlockIterator.h>
Public Member Functions | |
CubicBlockIterator () | |
CubicBlockIterator (int numI, int numJ, int numK, double sphereRadius, ClosePackOrientation orientation=DEFAULT_ORIENT) |
Class for iterating over the centre-points of spheres arranged in a cubic-close-packed (face-centred-close packed).
esys::lsm::CubicBlockIterator::CubicBlockIterator | ( | ) | [inline] |
Creates default empty iterator.
esys::lsm::CubicBlockIterator::CubicBlockIterator | ( | 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().