walberla::gpu::FieldIndexing< T > Class Template Reference

#include <FieldIndexing.h>

Public Member Functions

Kernel call


dim3 blockDim () const
 
dim3 gridDim () const
 
const FieldAccessor< T > & gpuAccess () const
 

Creation


const GPUField< T > & field_
 
dim3 blockDim_
 
dim3 gridDim_
 
FieldAccessor< T > gpuAccess_
 
static FieldIndexing< T > interval (const GPUField< T > &f, const cell::CellInterval &ci, int fBegin=0, int fEnd=1)
 
static FieldIndexing< T > xyz (const GPUField< T > &f)
 
static FieldIndexing< T > withGhostLayerXYZ (const GPUField< T > &f, uint_t numGhostLayers)
 
static FieldIndexing< T > ghostLayerOnlyXYZ (const GPUField< T > &f, uint_t thickness, stencil::Direction dir, bool fullSlice=false)
 
static FieldIndexing< T > sliceBeforeGhostLayerXYZ (const GPUField< T > &f, uint_t thickness, stencil::Direction dir, bool fullSlice=false)
 
static FieldIndexing< T > sliceXYZ (const GPUField< T > &f, cell_idx_t distance, uint_t thickness, stencil::Direction dir, bool fullSlice=false)
 
static FieldIndexing< T > allInner (const GPUField< T > &f)
 
static FieldIndexing< T > allWithGhostLayer (const GPUField< T > &f)
 
static FieldIndexing< T > all (const GPUField< T > &f, const cell::CellInterval &ci)
 
 FieldIndexing (const GPUField< T > &field, dim3 _blockDim, dim3 _gridDim, const FieldAccessor< T > _gpuAccess)
 

Constructor & Destructor Documentation

◆ FieldIndexing()

template<typename T >
walberla::gpu::FieldIndexing< T >::FieldIndexing ( const GPUField< T > &  field,
dim3  _blockDim,
dim3  _gridDim,
const FieldAccessor< T >  _gpuAccess 
)
protected

Member Function Documentation

◆ all()

template<typename T >
FieldIndexing< T > walberla::gpu::FieldIndexing< T >::all ( const GPUField< T > &  f,
const cell::CellInterval ci 
)
static

◆ allInner()

template<typename T >
FieldIndexing< T > walberla::gpu::FieldIndexing< T >::allInner ( const GPUField< T > &  f)
static

◆ allWithGhostLayer()

template<typename T >
FieldIndexing< T > walberla::gpu::FieldIndexing< T >::allWithGhostLayer ( const GPUField< T > &  f)
static

◆ blockDim()

template<typename T >
dim3 walberla::gpu::FieldIndexing< T >::blockDim ( ) const
inline

◆ ghostLayerOnlyXYZ()

template<typename T >
FieldIndexing< T > walberla::gpu::FieldIndexing< T >::ghostLayerOnlyXYZ ( const GPUField< T > &  f,
uint_t  thickness,
stencil::Direction  dir,
bool  fullSlice = false 
)
static

◆ gpuAccess()

template<typename T >
const FieldAccessor< T >& walberla::gpu::FieldIndexing< T >::gpuAccess ( ) const
inline

◆ gridDim()

template<typename T >
dim3 walberla::gpu::FieldIndexing< T >::gridDim ( ) const
inline

◆ interval()

template<typename T >
FieldIndexing< T > walberla::gpu::FieldIndexing< T >::interval ( const GPUField< T > &  f,
const cell::CellInterval ci,
int  fBegin = 0,
int  fEnd = 1 
)
static

◆ sliceBeforeGhostLayerXYZ()

template<typename T >
FieldIndexing< T > walberla::gpu::FieldIndexing< T >::sliceBeforeGhostLayerXYZ ( const GPUField< T > &  f,
uint_t  thickness,
stencil::Direction  dir,
bool  fullSlice = false 
)
static

◆ sliceXYZ()

template<typename T >
FieldIndexing< T > walberla::gpu::FieldIndexing< T >::sliceXYZ ( const GPUField< T > &  f,
cell_idx_t  distance,
uint_t  thickness,
stencil::Direction  dir,
bool  fullSlice = false 
)
static

◆ withGhostLayerXYZ()

template<typename T >
FieldIndexing< T > walberla::gpu::FieldIndexing< T >::withGhostLayerXYZ ( const GPUField< T > &  f,
uint_t  numGhostLayers 
)
static

◆ xyz()

template<typename T >
FieldIndexing< T > walberla::gpu::FieldIndexing< T >::xyz ( const GPUField< T > &  f)
static

Member Data Documentation

◆ blockDim_

template<typename T >
dim3 walberla::gpu::FieldIndexing< T >::blockDim_
protected

◆ field_

template<typename T >
const GPUField< T >& walberla::gpu::FieldIndexing< T >::field_
protected

◆ gpuAccess_

template<typename T >
FieldAccessor< T > walberla::gpu::FieldIndexing< T >::gpuAccess_
protected

◆ gridDim_

template<typename T >
dim3 walberla::gpu::FieldIndexing< T >::gridDim_
protected

The documentation for this class was generated from the following files: