GridN.h
void setInteriorCellNeighborLimit(unsigned int count)
Definition: GridN.h:113
void neighbors(const Cell *cell, CellArray &list) const
Get the list of neighbors for a given cell.
Definition: GridN.h:127
Cell * getCell(const Coord &coord) const
Get the cell at a specified coordinate.
Definition: GridN.h:121
GridN(unsigned int dimension)
The constructor takes the dimension of the grid as argument.
Definition: GridN.h:76
void neighbors(Coord &coord, CellArray &list) const
Get the list of neighbors for a given coordinate.
Definition: GridN.h:141
Representation of a grid where cells keep track of how many neighbors they have.
Definition: GridN.h:46
BaseCell * createCell(const Coord &coord, BaseCellArray *nbh=nullptr) override
Definition: GridN.h:155
typename Grid< CellData * >::CellArray BaseCellArray
Datatype for array of cells in base class.
Definition: GridN.h:53
unsigned int interiorCellNeighborsLimit_
Definition: GridN.h:240
void neighbors(const Coord &coord, CellArray &list) const
Get the list of neighbors for a given coordinate.
Definition: GridN.h:134
Cell * getCell(const Coord &coord) const
Get the cell at a specified coordinate.
Definition: Grid.h:114
void getCells(CellArray &cells) const
Get the set of instantiated cells in the grid.
Definition: GridN.h:208
void neighbors(const Cell *cell, CellArray &list) const
Get the list of neighbors for a given cell.
Definition: Grid.h:122
unsigned int numberOfBoundaryDimensions(const Coord &coord) const
Compute how many sides of a coordinate touch the boundaries of the grid.
Definition: GridN.h:216