GridN.h
typename Grid< _T >::CellArray BaseCellArray
Datatype for array of cells in base class.
Definition: GridN.h:117
Grid(unsigned int dimension)
The constructor takes the dimension of the grid as argument.
Definition: Grid.h:139
void getCells(CellArray &cells) const
Get the set of instantiated cells in the grid.
Definition: GridN.h:272
void neighbors(const Cell *cell, CellArray &list) const
Get the list of neighbors for a given cell.
Definition: Grid.h:187
Cell * getCell(const Coord &coord) const
Get the cell at a specified coordinate.
Definition: Grid.h:179
unsigned int numberOfBoundaryDimensions(const Coord &coord) const
Compute how many sides of a coordinate touch the boundaries of the grid.
Definition: GridN.h:280
BaseCell * createCell(const Coord &coord, BaseCellArray *nbh=nullptr) override
Definition: GridN.h:219
void neighbors(const Cell *cell, CellArray &list) const
Get the list of neighbors for a given cell.
Definition: GridN.h:191
unsigned int interiorCellNeighborsLimit_
Definition: GridN.h:304
void setInteriorCellNeighborLimit(unsigned int count)
Definition: GridN.h:177
Cell * getCell(const Coord &coord) const
Get the cell at a specified coordinate.
Definition: GridN.h:185
GridN(unsigned int dimension)
The constructor takes the dimension of the grid as argument.
Definition: GridN.h:140
Representation of a grid where cells keep track of how many neighbors they have.
Definition: GridN.h:78
Main namespace. Contains everything in this library.
Definition: ConstrainedSpaceInformation.h:52