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

Detailed Description

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

Definition at line 48 of file cp_block.hpp.

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

Public Member Functions

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

Private Types

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

Private Attributes

T(& ptr )[base::sizeBlock]
 

Additional Inherited Members

- Public Types inherited from cp_block_base< T, stencil_size, vector_vmpl, 2 >
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, 2 >
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,2> cp_block< T, stencil_size, vector_vmpl, 2 >::base
private

Definition at line 52 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, 2 >::cp_block ( T(&)  ptr[base::sizeBlock])
inlineexplicit

Definition at line 58 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, 2 >::LinId ( int  i,
int  j 
)
inline

Definition at line 62 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, 2 >::operator() ( int  i,
int  j 
)
inline

Definition at line 67 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, 2 >::ptr)[base::sizeBlock]
private

Definition at line 54 of file cp_block.hpp.


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