walberla::lbm_generated::GPUPdfField< LatticeStorageSpecification_T > Class Template Reference

#include <GPUPdfField.h>

+ Inheritance diagram for walberla::lbm_generated::GPUPdfField< LatticeStorageSpecification_T >:

Type Definitions

using LatticeStorageSpecification = LatticeStorageSpecification_T
 
using Stencil = typename LatticeStorageSpecification_T::Stencil
 
using value_type = typename GPUField< real_t >::value_type
 
LatticeStorageSpecification_T storageSpecification_
 
 GPUPdfField (uint_t _xSize, uint_t _ySize, uint_t _zSize, const LatticeStorageSpecification_T &storageSpecification, uint_t _nrOfGhostLayers, const Layout &_layout=zyxf, bool usePitchedMem=true)
 
 ~GPUPdfField ()=default
 

Additional Inherited Members

- Public Types inherited from walberla::gpu::GPUField< real_t >
typedef real_t value_type
 
- Public Member Functions inherited from walberla::gpu::GPUField< real_t >
 GPUField (uint_t _xSize, uint_t _ySize, uint_t _zSize, uint_t _fSize, uint_t _nrOfGhostLayers, const Layout &_layout=fzyx, bool usePitchedMem=true)
 
 ~GPUField ()
 
Layout layout () const
 
bool isPitchedMem () const
 
gpuPitchedPtr pitchedPtr () const
 
uint_t xSize () const
 
uint_t ySize () const
 
uint_t zSize () const
 
uint_t fSize () const
 
uint_t size () const
 
uint_t size (uint_t coord) const
 
uint_t xSizeWithGhostLayer () const
 
uint_t ySizeWithGhostLayer () const
 
uint_t zSizeWithGhostLayer () const
 
uint_t sizeWithGhostLayer (uint_t i) const
 
cell_idx_t xOff () const
 
cell_idx_t yOff () const
 
cell_idx_t zOff () const
 
cell_idx_t xStride () const
 
cell_idx_t yStride () const
 
cell_idx_t zStride () const
 
cell_idx_t fStride () const
 
uint_t xAllocSize () const
 
uint_t yAllocSize () const
 
uint_t zAllocSize () const
 
uint_t fAllocSize () const
 
uint_t allocSize () const
 
bool hasSameAllocSize (const GPUField< real_t > &other) const
 True if allocation sizes of all dimensions match. More...
 
bool hasSameSize (const GPUField< real_t > &other) const
 True if sizes of all dimensions match. More...
 
GPUField< real_t > * cloneUninitialized () const
 Creates a new GPUField that has equal size, layout and memory type as this field but has uninitialized memory. More...
 
void swapDataPointers (GPUField< real_t > &other)
 
void swapDataPointers (GPUField< real_t > *other)
 
uint_t nrOfGhostLayers () const
 
CellInterval xyzSize () const
 
CellInterval xyzSizeWithGhostLayer () const
 
bool operator== (const GPUField &other) const
 Implementation of equality operator, GPUField are equal if identical. More...
 
void getGhostRegion (stencil::Direction d, CellInterval &ci, cell_idx_t thickness, bool fullSlice=false) const
 
void getSliceBeforeGhostLayer (stencil::Direction d, CellInterval &ci, cell_idx_t thickness, bool fullSlice=false) const
 
void getSlice (stencil::Direction d, CellInterval &ci, cell_idx_t distance, cell_idx_t thickness, bool fullSlice) const
 
void * data ()
 
const void * data () const
 
real_tdataAt (cell_idx_t x, cell_idx_t y, cell_idx_t z, cell_idx_t f)
 
const real_tdataAt (cell_idx_t x, cell_idx_t y, cell_idx_t z, cell_idx_t f) const
 
uint8_t advanceTimestep ()
 
uint8_t getTimestep () const
 
uint8_t getTimestepPlusOne () const
 
bool isEvenTimeStep () const
 
- Protected Attributes inherited from walberla::gpu::GPUField< real_t >
gpuPitchedPtr pitchedPtr_
 
uint_t nrOfGhostLayers_
 
uint_t xSize_
 
uint_t ySize_
 
uint_t zSize_
 
uint_t fSize_
 
uint_t xAllocSize_
 
uint_t fAllocSize_
 
Layout layout_
 
bool usePitchedMem_
 
uint8_t timestepCounter_
 

Member Typedef Documentation

◆ LatticeStorageSpecification

template<typename LatticeStorageSpecification_T >
using walberla::lbm_generated::GPUPdfField< LatticeStorageSpecification_T >::LatticeStorageSpecification = LatticeStorageSpecification_T

◆ Stencil

template<typename LatticeStorageSpecification_T >
using walberla::lbm_generated::GPUPdfField< LatticeStorageSpecification_T >::Stencil = typename LatticeStorageSpecification_T::Stencil

◆ value_type

template<typename LatticeStorageSpecification_T >
using walberla::lbm_generated::GPUPdfField< LatticeStorageSpecification_T >::value_type = typename GPUField<real_t>::value_type

Constructor & Destructor Documentation

◆ GPUPdfField()

template<typename LatticeStorageSpecification_T >
walberla::lbm_generated::GPUPdfField< LatticeStorageSpecification_T >::GPUPdfField ( uint_t  _xSize,
uint_t  _ySize,
uint_t  _zSize,
const LatticeStorageSpecification_T &  storageSpecification,
uint_t  _nrOfGhostLayers,
const Layout &  _layout = zyxf,
bool  usePitchedMem = true 
)

◆ ~GPUPdfField()

template<typename LatticeStorageSpecification_T >
walberla::lbm_generated::GPUPdfField< LatticeStorageSpecification_T >::~GPUPdfField ( )
default

Member Data Documentation

◆ storageSpecification_

template<typename LatticeStorageSpecification_T >
LatticeStorageSpecification_T walberla::lbm_generated::GPUPdfField< LatticeStorageSpecification_T >::storageSpecification_
protected

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