Class TempLat::GhostSubarrayMap
template <size_t NDim>
ClassList > TempLat > GhostSubarrayMap
A class which keeps track of all subarray types for a given layout, which in turn is described by the LayoutStruct . The map is for datatypes and dimensions. getSubArray<T>(dimension) is the only necessary public method.More...
#include <ghostsubarraymap.h>
Public Functions
| Type | Name |
|---|---|
| GhostSubarrayMap (LayoutStruct< NDim > layout, device::Idx ghostDepth) |
|
| GhostSubarray< NDim > | getSubArray (device::Idx dimension) |
Detailed Description
Unit test: ctest -R test-ghostsubarraymap
Public Functions Documentation
function GhostSubarrayMap
inline TempLat::GhostSubarrayMap::GhostSubarrayMap (
LayoutStruct < NDim > layout,
device::Idx ghostDepth
)
function getSubArray
template<typename T>
inline GhostSubarray < NDim > TempLat::GhostSubarrayMap::getSubArray (
device::Idx dimension
)
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/ghostcells/ghostsubarraymap.h