OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
encap_data_block< enc_type > Class Template Reference

Detailed Description

template<typename enc_type>
class encap_data_block< enc_type >

Definition at line 115 of file SparseGridGpu.hpp.

Public Member Functions

 encap_data_block (int offset, const enc_type &enc)
 
encap_data_block operator= (const encap_data_block< enc_type > &enc)
 
template<unsigned int p>
auto get () -> decltype(enc.template get< p >()[offset])
 
template<unsigned int p>
auto get () const -> decltype(enc.template get< p >()[offset])
 

Private Attributes

int offset
 
enc_type enc
 

Constructor & Destructor Documentation

◆ encap_data_block()

template<typename enc_type >
encap_data_block< enc_type >::encap_data_block ( int  offset,
const enc_type &  enc 
)
inline

Definition at line 122 of file SparseGridGpu.hpp.

Member Function Documentation

◆ get() [1/2]

template<typename enc_type >
template<unsigned int p>
auto encap_data_block< enc_type >::get ( ) -> decltype(enc.template get<p>()[offset])
inline

Definition at line 136 of file SparseGridGpu.hpp.

◆ get() [2/2]

template<typename enc_type >
template<unsigned int p>
auto encap_data_block< enc_type >::get ( ) const -> decltype(enc.template get<p>()[offset])
inline

Definition at line 142 of file SparseGridGpu.hpp.

◆ operator=()

template<typename enc_type >
encap_data_block encap_data_block< enc_type >::operator= ( const encap_data_block< enc_type > &  enc)
inline

Definition at line 126 of file SparseGridGpu.hpp.

Field Documentation

◆ enc

template<typename enc_type >
enc_type encap_data_block< enc_type >::enc
private

Definition at line 118 of file SparseGridGpu.hpp.

◆ offset

template<typename enc_type >
int encap_data_block< enc_type >::offset
private

Definition at line 117 of file SparseGridGpu.hpp.


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