OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
ArrayWrapper< BaseT > Struct Template Reference

Detailed Description

template<typename BaseT>
struct ArrayWrapper< BaseT >

Provides an on-stack type wrapping the original type and switching index access

Template Parameters
BaseT

Definition at line 104 of file BlockMapGpu_dimensionalityWrappers.cuh.

Public Member Functions

__device__ __host__ BaseT::scalarType & operator[] (int i)
 
__device__ __host__ const BaseT::scalarType & operator[] (int i) const
 

Data Fields

BaseT data
 

Member Function Documentation

◆ operator[]() [1/2]

template<typename BaseT >
__device__ __host__ BaseT::scalarType & ArrayWrapper< BaseT >::operator[] ( int  i)
inline

Definition at line 108 of file BlockMapGpu_dimensionalityWrappers.cuh.

◆ operator[]() [2/2]

template<typename BaseT >
__device__ __host__ const BaseT::scalarType & ArrayWrapper< BaseT >::operator[] ( int  i) const
inline

Definition at line 113 of file BlockMapGpu_dimensionalityWrappers.cuh.

Field Documentation

◆ data

template<typename BaseT >
BaseT ArrayWrapper< BaseT >::data

Definition at line 106 of file BlockMapGpu_dimensionalityWrappers.cuh.


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