|
faunus
|
A basic class for a cell list allowing to keep members organized into a grid. More...
#include <celllistimpl.h>


Public Types | |
| 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 & | 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... | |
A basic class for a cell list allowing to keep members organized into a grid.
It provides the minimal functionality that should be extended by mixin and decorators as needed.
| TMember | |
| TGrid |
|
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 |
Implements Faunus::CellList::AbstractImmutableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > >.
|
inline |
Static cast itself to a grid.
Useful to avoid using a copy constructor.
|
inlineoverridevirtual |
< members type
Get cell members at given cell coordinates.
| cell_coordinates |
Implements Faunus::CellList::AbstractImmutableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > >.
|
inlineoverridevirtual |
Get cell members at given offseted cell coordinates, or empty if offseted dcoordinates do not exist.
| cell_coordinates |
Implements Faunus::CellList::AbstractImmutableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > >.
|
inlineoverridevirtual |
Implements Faunus::CellList::AbstractImmutableCellList< ContainerTypeOf< TContainer >, GridTypeOf< TGrid > >.
1.8.13