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

Detailed Description

template<unsigned int p>
class grid_key< p >

Definition at line 163 of file grid_test.hpp.

Public Member Functions

template<unsigned int s>
 grid_key (grid_key< s > &key)
 
 grid_key (size_t sz)
 
void set_d (size_t id_, mem_id val)
 
void set (mem_id val1)
 
void set (mem_id val1, mem_id val2)
 
void set (mem_id val1, mem_id val2, mem_id val3)
 
void set (mem_id val1, mem_id val2, mem_id val3, mem_id val4)
 
mem_id * getId ()
 

Data Fields

boost::shared_array< mem_id > id
 

Constructor & Destructor Documentation

◆ grid_key() [1/2]

template<unsigned int p>
template<unsigned int s>
grid_key< p >::grid_key ( grid_key< s > &  key)
inline

Definition at line 167 of file grid_test.hpp.

◆ grid_key() [2/2]

template<unsigned int p>
grid_key< p >::grid_key ( size_t  sz)
inline

Definition at line 172 of file grid_test.hpp.

Member Function Documentation

◆ getId()

template<unsigned int p>
mem_id * grid_key< p >::getId ( )
inline

Definition at line 208 of file grid_test.hpp.

◆ set() [1/4]

template<unsigned int p>
void grid_key< p >::set ( mem_id  val1)
inline

Definition at line 182 of file grid_test.hpp.

◆ set() [2/4]

template<unsigned int p>
void grid_key< p >::set ( mem_id  val1,
mem_id  val2 
)
inline

Definition at line 187 of file grid_test.hpp.

◆ set() [3/4]

template<unsigned int p>
void grid_key< p >::set ( mem_id  val1,
mem_id  val2,
mem_id  val3 
)
inline

Definition at line 193 of file grid_test.hpp.

◆ set() [4/4]

template<unsigned int p>
void grid_key< p >::set ( mem_id  val1,
mem_id  val2,
mem_id  val3,
mem_id  val4 
)
inline

Definition at line 200 of file grid_test.hpp.

◆ set_d()

template<unsigned int p>
void grid_key< p >::set_d ( size_t  id_,
mem_id  val 
)
inline

Definition at line 177 of file grid_test.hpp.

Field Documentation

◆ id

template<unsigned int p>
boost::shared_array<mem_id> grid_key< p >::id

Definition at line 213 of file grid_test.hpp.


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