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

Detailed Description

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

Definition at line 26 of file cp_block.hpp.

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

Public Member Functions

__device__ __host__ cp_block (T(&ptr)[base::sizeBlock])
 
template<typename ... ArgsT>
__device__ __host__ T & operator() (ArgsT ... args)
 

Private Types

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

Private Attributes

T(& ptr )[base::sizeBlock]
 

Additional Inherited Members

- Public Types inherited from cp_block_base< T, stencil_size, vector_vmpl, dim >
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, dim >
static const int sizeBlock = vmpl_reduce_prod<vector_vmpl>::type::value
 
static const int sizeBlockBord = vmpl_reduce_prod<stop_border_vmpl>::type::value
 

Member Typedef Documentation

◆ base

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

Definition at line 30 of file cp_block.hpp.

Constructor & Destructor Documentation

◆ cp_block()

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

Definition at line 36 of file cp_block.hpp.

Member Function Documentation

◆ operator()()

template<typename T , unsigned int stencil_size, typename vector_vmpl , unsigned int dim>
template<typename ... ArgsT>
__device__ __host__ T & cp_block< T, stencil_size, vector_vmpl, dim >::operator() ( ArgsT ...  args)
inline

Definition at line 41 of file cp_block.hpp.

Field Documentation

◆ ptr

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

Definition at line 32 of file cp_block.hpp.


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