template<typename T>
class walberla::gpu::FieldAccessor< T >
Handle to the underlying device data of a GPUField.
Encapsulate the device memory pointer and offsets necessary to calculate the address of a cell from a GPU kernel's thread coordinates in the thread block.
|
| FieldAccessor (char *ptr, uint_t xOffset, uint_t yOffset, uint_t zOffset, uint_t fOffset, IndexingScheme indexingScheme) |
|
__device__ void | set (uint3 _blockIdx, uint3 _threadIdx) |
|
__device__ uint_t | getLinearIndex (uint3 _blockIdx, uint3 _threadIdx, uint3 _gridDim, uint3 _blockDim) |
|
__device__ __forceinline__ bool | isValidPosition () |
|
__device__ T & | get () |
|
__device__ T & | get (uint_t f) |
|
__device__ T & | getNeighbor (int cx, int cy, int cz) const |
|
__device__ T & | getNeighbor (int cx, int cy, int cz, uint_t cf) |
|