provides access to neighboring cells in a grid via relative coordinates.
More...
#include <coordmap.h>
List of all members.
Public Types |
typedef CELL_TYPE | Cell |
Public Member Functions |
| CoordMap (const Coord< DIM > &origin, const GRID_TYPE *grid) |
const CELL_TYPE & | operator[] (const Coord< DIM > &relCoord) const |
| This operator doesn't implement out-of-bounds-checking.
|
template<int X, int Y, int Z> |
const CELL_TYPE & | operator[] (FixedCoord< X, Y, Z > relCoord) const |
std::string | toString () const |
Static Public Attributes |
static const int | DIM = GRID_TYPE::DIM |
Private Attributes |
Coord< DIM > | origin |
const GRID_TYPE * | grid |
Detailed Description
template<typename CELL_TYPE, typename GRID_TYPE = Grid<CELL_TYPE, Topologies::Cube<2>::Topology>>
class LibGeoDecomp::CoordMap< CELL_TYPE, GRID_TYPE >
provides access to neighboring cells in a grid via relative coordinates.
Slow!
Member Typedef Documentation
template<typename CELL_TYPE , typename GRID_TYPE = Grid<CELL_TYPE, Topologies::Cube<2>::Topology>>
Constructor & Destructor Documentation
template<typename CELL_TYPE , typename GRID_TYPE = Grid<CELL_TYPE, Topologies::Cube<2>::Topology>>
Member Function Documentation
template<typename CELL_TYPE , typename GRID_TYPE = Grid<CELL_TYPE, Topologies::Cube<2>::Topology>>
template<typename CELL_TYPE , typename GRID_TYPE = Grid<CELL_TYPE, Topologies::Cube<2>::Topology>>
template<int X, int Y, int Z>
template<typename CELL_TYPE , typename GRID_TYPE = Grid<CELL_TYPE, Topologies::Cube<2>::Topology>>
Member Data Documentation
template<typename CELL_TYPE , typename GRID_TYPE = Grid<CELL_TYPE, Topologies::Cube<2>::Topology>>
template<typename CELL_TYPE , typename GRID_TYPE = Grid<CELL_TYPE, Topologies::Cube<2>::Topology>>
template<typename CELL_TYPE , typename GRID_TYPE = Grid<CELL_TYPE, Topologies::Cube<2>::Topology>>
The documentation for this class was generated from the following file: