OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
DataBlock< ScalarT, DataBlockSize > Struct Template Reference

Detailed Description

template<typename ScalarT, unsigned int DataBlockSize = 64>
struct DataBlock< ScalarT, DataBlockSize >

Definition at line 16 of file DataBlock.cuh.

Public Types

typedef ScalarT scalarType
typedef ScalarT value_type

Public Member Functions

__device__ __host__ DataBlock (const DataBlock &other)
__device__ __host__ DataBlockoperator= (const DataBlock &other)
__device__ __host__ DataBlockoperator= (ScalarT v)
__device__ __host__ ScalarT & operator[] (unsigned int i)
__device__ __host__ const ScalarT & operator[] (unsigned int i) const

Data Fields

ScalarT block [size]

Static Public Attributes

static const unsigned int EXISTBIT = 0
static const unsigned int size = DataBlockSize

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