|
faunus
|
A mixing returning members in a cell in sorted order, e.g., for lookup or filtering. More...
#include <celllistimpl.h>


Public Types | |
| using | AbstractCellList = typename AbstractSortableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > >::AbstractCellList |
| using | Grid = TGrid |
| using | Container = TContainer |
Public Types inherited from Faunus::CellList::CellListBase< TContainer, TGrid > | |
| using | AbstractCellList = AbstractImmutableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > > |
| using | Grid = TGrid |
| using | Container = TContainer |
| using | CellCoord = typename Grid::CoordOf< GridType > |
| grid (cell) coordinates type | |
| using | CellIndex = typename Grid::IndexOf< GridType > |
| grid (cell) index type | |
| using | GridType = TGridType |
| abstract grid type | |
| using | Member = typename Container::MemberOf< ContainerType > |
| member type | |
| using | Members = typename Container::MembersOf< ContainerType > |
| members type | |
Public Types inherited from Faunus::CellList::AbstractImmutableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > > | |
| using | AbstractCellList = AbstractImmutableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > > |
| using | ContainerType = ContainerTypeOf< TContainer > |
| abstract container types | |
| using | GridType = GridTypeOf< TGrid > |
| abstract grid type | |
| using | Members = typename Container::MembersOf< ContainerType > |
| members type | |
| using | Member = typename Container::MemberOf< ContainerType > |
| member type | |
| using | CellIndex = typename Grid::IndexOf< GridType > |
| grid (cell) index type | |
| using | CellCoord = typename Grid::CoordOf< GridType > |
| grid (cell) coordinates type | |
Public Member Functions | |
| const Members & | getSortedMembers (const CellCoord &cell_coordinates) override |
| < members type More... | |
| const Members & | getNeighborSortedMembers (const CellCoord &cell_coordinates, const CellCoord &cell_offset) override |
| Get members of a neighbor cell in a sorted order. More... | |
| SortableCellList (const GridOf< TBase > &cell_grid) | |
| Construct an empty cell list from a grid. More... | |
| SortableCellList (const typename GridOf< TBase >::Point &box, const typename GridOf< TBase >::SpaceAxis cell_dimension) | |
| Construct an empty cell list knowing a box dimension and minimal cell dimension. More... | |
Public Member Functions inherited from Faunus::CellList::CellListBase< TContainer, TGrid > | |
| const Members & | getMembers (const CellCoord &cell_coordinates) override |
| < members type More... | |
| const Members & | getNeighborMembers (const CellCoord &cell_coordinates, const CellCoord &cell_offset) override |
| Get cell members at given offseted cell coordinates, or empty if offseted dcoordinates do not exist. More... | |
| std::vector< CellCoord > | getCells () const override |
| CellIndex | gridSize () const override |
| const TGrid & | getGrid () |
| Static cast itself to a grid. More... | |
| CellListBase (const TGrid &cell_grid) | |
| Construct an empty cell list from a grid. More... | |
| CellListBase (const typename TGrid::Point &box, const typename TGrid::SpaceAxis cell_dimension) | |
| Construct an empty cell list knowing a box dimension and minimal cell dimension. More... | |
Protected Member Functions | |
| void | insert (const Member &member, const CellIndex &new_cell_index) |
| void | remove (const Member &member, const CellIndex &old_cell_index) |
| const Members & | getSorted (const CellIndex cell_index) |
| Get members in a sorted order. More... | |
A mixing returning members in a cell in sorted order, e.g., for lookup or filtering.
Sorting is performed on as-needed basis, i.e., only when requested and if modified since the last request.
| TBase |
|
inlineexplicit |
Construct an empty cell list from a grid.
| cell_grid |
|
inline |
Construct an empty cell list knowing a box dimension and minimal cell dimension.
| box | spatial dimension of the box |
| cell_dimension | minimal length of the cell's edge |
|
inlineoverridevirtual |
Get members of a neighbor cell in a sorted order.
| cell_coordinates | |
| cell_offset |
Implements Faunus::CellList::AbstractSortableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > >.
|
inlineprotected |
Get members in a sorted order.
| cell_index |
|
inlineoverridevirtual |
< members type
Get members in a sorted order.
| cell_coordinates |
Implements Faunus::CellList::AbstractSortableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > >.
1.8.13