$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
Iterate in a structured way over a sparse multi-block structure. More...
#include <sparseBlockStructure3D.h>

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 |
Iterate in a structured way over a sparse multi-block structure.
| plb::EuclideanIterator3D::EuclideanIterator3D | ( | SparseBlockStructure3D const & | sparseBlock_ | ) |
| 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().
1.6.3
1.6.3