OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
encapg< dim, T, Mem > Class Template Reference

this structure encapsulate an object of the grid More...

Detailed Description

template<unsigned int dim, typename T, typename Mem>
class encapg< dim, T, Mem >

this structure encapsulate an object of the grid

This structure encapsulate an object of the grid It give the possibility to select the property in a secondary moment

Parameters
dimDimensionality of the grid
Ttype of object the grid store
Meminterface used to allocate memory

Definition at line 370 of file Encap.hpp.

#include <Encap.hpp>

Public Types

typedef int yes_i_am_encap
 
typedef T T_type
 

Public Member Functions

 encapg (Mem &data, size_t k)
 
template<unsigned int p>
type_gpu_prop< p, Mem >
::type::reference 
get ()
 
template<unsigned int p>
const type_gpu_prop< p, Mem >
::type::reference 
get () const
 

Private Attributes

Mem & data
 
size_t k
 

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