$treeview $search $mathjax
Palabos  Version 1.1
$projectbrief
$projectbrief
$searchbox

plb::EuclideanIterator3D Class Reference

Iterate in a structured way over a sparse multi-block structure. More...

#include <sparseBlockStructure3D.h>

Collaboration diagram for plb::EuclideanIterator3D:

List of all members.

Public Member Functions

 EuclideanIterator3D (SparseBlockStructure3D const &sparseBlock_)
bool getNextChunkX (plint iX, plint iY, plint iZ, plint &blockId, plint &chunkSize) const
bool getNextChunkY (plint iX, plint iY, plint iZ, plint &blockId, plint &chunkSize) const
bool getNextChunkZ (plint iX, plint iY, plint iZ, plint &blockId, plint &chunkSize) const

Detailed Description

Iterate in a structured way over a sparse multi-block structure.


Constructor & Destructor Documentation

plb::EuclideanIterator3D::EuclideanIterator3D ( SparseBlockStructure3D const &  sparseBlock_  ) 

Member Function Documentation

bool plb::EuclideanIterator3D::getNextChunkX ( plint  iX,
plint  iY,
plint  iZ,
plint blockId,
plint chunkSize 
) const

Locate block and determine how much data can be accessed in a x-contiguous manner. Return value indicates if the memory corresponding to the chunk is allocated or not.

References plb::Box3D::getNx(), and plb::Box3D::x1.

Referenced by plb::MultiBlockUnSerializer3D::commitData(), plb::MultiBlockUnSerializer3D::getNextDataBuffer(), and plb::MultiBlockSerializer3D::getNextDataBuffer().

bool plb::EuclideanIterator3D::getNextChunkY ( plint  iX,
plint  iY,
plint  iZ,
plint blockId,
plint chunkSize 
) const

Locate block and determine how much data can be accessed in a y-contiguous manner. Return value indicates if the memory corresponding to the chunk is allocated or not.

References plb::Box3D::getNy(), and plb::Box3D::y1.

bool plb::EuclideanIterator3D::getNextChunkZ ( plint  iX,
plint  iY,
plint  iZ,
plint blockId,
plint chunkSize 
) const

Locate block and determine how much data can be accessed in a z-contiguous manner. Return value indicates if the memory corresponding to the chunk is allocated or not.

References plb::Box3D::getNz(), and plb::Box3D::z1.

Referenced by plb::MultiBlockUnSerializer3D::commitData(), plb::MultiBlockUnSerializer3D::getNextDataBuffer(), and plb::MultiBlockSerializer3D::getNextDataBuffer().


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