OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cp_block< T, stencil_size, vector_vmpl, 3 > Class Template Reference

Detailed Description

template<typename T, unsigned int stencil_size, typename vector_vmpl>
class cp_block< T, stencil_size, vector_vmpl, 3 >

Definition at line 74 of file cp_block.hpp.

+ Inheritance diagram for cp_block< T, stencil_size, vector_vmpl, 3 >:

Public Member Functions

__device__ __host__ cp_block (T(&ptr)[base::sizeBlock])
 
__device__ __host__ int LinId (int i, int j, int k)
 
__device__ __host__ T & operator() (int i, int j, int k)
 

Private Types

typedef cp_block_base< T, stencil_size, vector_vmpl, 3 > base
 

Private Attributes

T(& ptr )[base::sizeBlock]
 

Additional Inherited Members

- Public Types inherited from cp_block_base< T, stencil_size, vector_vmpl, 3 >
typedef vmpl_sum_constant< 2 *stencil_size, vector_vmpl >::type stop_border_vmpl
 
typedef vmpl_create_constant< dim, stencil_size >::type start_border_vmpl
 
- Static Public Attributes inherited from cp_block_base< T, stencil_size, vector_vmpl, 3 >
static const int sizeBlock
 
static const int sizeBlockBord
 

Member Typedef Documentation

◆ base

template<typename T , unsigned int stencil_size, typename vector_vmpl >
typedef cp_block_base<T,stencil_size,vector_vmpl,3> cp_block< T, stencil_size, vector_vmpl, 3 >::base
private

Definition at line 78 of file cp_block.hpp.

Constructor & Destructor Documentation

◆ cp_block()

template<typename T , unsigned int stencil_size, typename vector_vmpl >
__device__ __host__ cp_block< T, stencil_size, vector_vmpl, 3 >::cp_block ( T(&)  ptr[base::sizeBlock])
inlineexplicit

Definition at line 84 of file cp_block.hpp.

Member Function Documentation

◆ LinId()

template<typename T , unsigned int stencil_size, typename vector_vmpl >
__device__ __host__ int cp_block< T, stencil_size, vector_vmpl, 3 >::LinId ( int  i,
int  j,
int  k 
)
inline

Definition at line 88 of file cp_block.hpp.

◆ operator()()

template<typename T , unsigned int stencil_size, typename vector_vmpl >
__device__ __host__ T & cp_block< T, stencil_size, vector_vmpl, 3 >::operator() ( int  i,
int  j,
int  k 
)
inline

Definition at line 93 of file cp_block.hpp.

Field Documentation

◆ ptr

template<typename T , unsigned int stencil_size, typename vector_vmpl >
T(& cp_block< T, stencil_size, vector_vmpl, 3 >::ptr)[base::sizeBlock]
private

Definition at line 80 of file cp_block.hpp.


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