|
waLBerla 7.2
|
Data structure for representing a cell in the hash grid (used by the 'Hierarchical Hash Grids' coarse collision detection algorithm).
Public Attributes | |
| ParticleIdxVector * | particles_ |
| The cell's particle container that stores (handles to) all the particles that are assigned to this cell. | |
| offset_t * | neighborOffset_ |
| Pointer to an array that is storing offsets that can be used to directly access all the neighboring cells in the hash grid. | |
| size_t | occupiedCellsId_ |
| The cell's index in the occupiedCells_ vector. | |
| offset_t* walberla::mesa_pd::data::HashGrids::HashGrid::Cell::neighborOffset_ |
Pointer to an array that is storing offsets that can be used to directly access all the neighboring cells in the hash grid.
| size_t walberla::mesa_pd::data::HashGrids::HashGrid::Cell::occupiedCellsId_ |
The cell's index in the occupiedCells_ vector.
| ParticleIdxVector* walberla::mesa_pd::data::HashGrids::HashGrid::Cell::particles_ |
The cell's particle container that stores (handles to) all the particles that are assigned to this cell.
Note that only a pointer to such a particle container is stored: in order to save memory, this container object is only allocated as long as there are particles assigned to this cell.