This class is useful for writing irregularly shaped codes with LibGeoDecomp (e.g.
More...
#include <containercell.h>
List of all members.
Detailed Description
template<class CARGO, std::size_t SIZE, typename KEY = int>
class LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >
This class is useful for writing irregularly shaped codes with LibGeoDecomp (e.g.
meshfree or unstructured grids). It acts as an adapter between the underlying, regular grid and the amorphous structure of the model. Each entity of the model (of type CARGO) needs to be assigned a unique KEY, which will be used for lookups.
If your model doesn't access neighboring cells via IDs but rather all neighbors within a certain radius, then BoxCell is a better choice.
Member Typedef Documentation
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
Constructor & Destructor Documentation
template<class CARGO , std::size_t SIZE, typename KEY = int>
Member Function Documentation
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
References LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::cells, and LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::numElements.
Referenced by LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::insert(), and LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::operator[]().
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
References LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::cells, LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::checkSize(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::end(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::ids, and LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::numElements.
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
References LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::cells, LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::end(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::ids, and LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::numElements.
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class HOOD >
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class HOOD_SELF , class HOOD_ALL >
void LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::updateCargo |
( |
HOOD_SELF & |
ownNeighbors, |
|
|
HOOD_ALL & |
allNeighbors, |
|
|
const int |
nanoStep | |
|
) |
| | [inline] |
Friends And Related Function Documentation
template<class CARGO , std::size_t SIZE, typename KEY = int>
friend class ContainerCellTest [friend] |
Member Data Documentation
template<class CARGO , std::size_t SIZE, typename KEY = int>
Referenced by LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::begin(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::end(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::insert(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::operator[](), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::remove(), and LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::updateCargo().
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
Referenced by LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::getIDs(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::insert(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::operator[](), and LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::remove().
template<class CARGO , std::size_t SIZE, typename KEY = int>
template<class CARGO , std::size_t SIZE, typename KEY = int>
Referenced by LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::checkSize(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::clear(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::end(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::insert(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::operator[](), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::remove(), LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::size(), and LibGeoDecomp::ContainerCell< CARGO, SIZE, KEY >::updateCargo().
The documentation for this class was generated from the following file: