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

#include <FieldIndexing3D.h>

+ Inheritance diagram for walberla::gpu::FieldIndexing3D< T >:

Public Member Functions

Kernel call


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

Creation


const GPUField< T > & field_
 
dim3 blockDim_
 
dim3 gridDim_
 
FieldAccessor3D< T > gpuAccess_
 
static FieldIndexing3D< T > interval (const GPUField< T > &f, const cell::CellInterval &ci)
 
static FieldIndexing3D< T > xyz (const GPUField< T > &f)
 
static FieldIndexing3D< T > withGhostLayerXYZ (const GPUField< T > &f, uint_t numGhostLayers)
 
static FieldIndexing3D< T > ghostLayerOnlyXYZ (const GPUField< T > &f, uint_t thickness, stencil::Direction dir, bool fullSlice=false)
 
static FieldIndexing3D< T > sliceBeforeGhostLayerXYZ (const GPUField< T > &f, uint_t thickness, stencil::Direction dir, bool fullSlice=false)
 
static FieldIndexing3D< T > sliceXYZ (const GPUField< T > &f, cell_idx_t distance, uint_t thickness, stencil::Direction dir, bool fullSlice=false)
 
static FieldIndexing3D< T > intervalXYZ (const GPUField< T > &f, const cell::CellInterval &ci)
 
 FieldIndexing3D (const GPUField< T > &field, const dim3 &_blockDim, const dim3 &_gridDim, const FieldAccessor3D< T > &_gpuAccess)
 

Additional Inherited Members

- Static Public Member Functions inherited from walberla::gpu::FieldIndexing3DBase
static void setPreferredBlockDim (dim3 blockDim)
 
static void setPreferredBlockDim (unsigned int x, unsigned int y, unsigned int z)
 
- Static Protected Attributes inherited from walberla::gpu::FieldIndexing3DBase
static dim3 preferredBlockDim_
 

Constructor & Destructor Documentation

◆ FieldIndexing3D()

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

Member Function Documentation

◆ blockDim()

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

◆ ghostLayerOnlyXYZ()

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

◆ gpuAccess()

template<typename T >
const FieldAccessor3D<T>& walberla::gpu::FieldIndexing3D< T >::gpuAccess ( ) const
inline

◆ gridDim()

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

◆ interval()

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

◆ intervalXYZ()

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

◆ sliceBeforeGhostLayerXYZ()

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

◆ sliceXYZ()

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

◆ withGhostLayerXYZ()

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

◆ xyz()

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

Member Data Documentation

◆ blockDim_

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

◆ field_

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

◆ gpuAccess_

template<typename T >
FieldAccessor3D<T> walberla::gpu::FieldIndexing3D< T >::gpuAccess_
protected

◆ gridDim_

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

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