OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
Packer< T, Mem, PACKER_GRID > Class Template Reference

Packer for grids and sub-grids. More...

Detailed Description

template<typename T, typename Mem>
class Packer< T, Mem, PACKER_GRID >

Packer for grids and sub-grids.

Template Parameters
Tgrid type to pack
MemMemory origin HeapMemory CudaMemory ...

Definition at line 378 of file Packer.hpp.

#include <Packer.hpp>

Static Public Member Functions

template<int ... prp>
static void packRequest (const T &obj, size_t &req)
 
template<typename grid_sub_it_type , int ... prp>
static void packRequest (T &obj, grid_sub_it_type &sub, size_t &req)
 
template<int ... prp>
static void pack (ExtPreAlloc< Mem > &mem, const T &obj, Pack_stat &sts)
 
template<typename grid_sub_it_type , int ... prp>
static void pack (ExtPreAlloc< Mem > &mem, T &obj, grid_sub_it_type &sub_it, Pack_stat &sts)
 

Member Function Documentation

◆ pack() [1/2]

template<typename T , typename Mem >
template<int ... prp>
static void Packer< T, Mem, PACKER_GRID >::pack ( ExtPreAlloc< Mem > &  mem,
const T &  obj,
Pack_stat sts 
)
inlinestatic

Definition at line 392 of file Packer.hpp.

◆ pack() [2/2]

template<typename T , typename Mem >
template<typename grid_sub_it_type , int ... prp>
static void Packer< T, Mem, PACKER_GRID >::pack ( ExtPreAlloc< Mem > &  mem,
T &  obj,
grid_sub_it_type &  sub_it,
Pack_stat sts 
)
inlinestatic

Definition at line 397 of file Packer.hpp.

◆ packRequest() [1/2]

template<typename T , typename Mem >
template<int ... prp>
static void Packer< T, Mem, PACKER_GRID >::packRequest ( const T &  obj,
size_t &  req 
)
inlinestatic

Definition at line 382 of file Packer.hpp.

◆ packRequest() [2/2]

template<typename T , typename Mem >
template<typename grid_sub_it_type , int ... prp>
static void Packer< T, Mem, PACKER_GRID >::packRequest ( T &  obj,
grid_sub_it_type &  sub,
size_t &  req 
)
inlinestatic

Definition at line 387 of file Packer.hpp.


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