OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
mem_setmemory< data_type, Mem_type, layout, sel > Struct Template Reference

Detailed Description

template<typename data_type, typename Mem_type, typename layout, unsigned int sel = 2*is_layout_mlin<layout>::value + is_layout_inte<layout>::value>
struct mem_setmemory< data_type, Mem_type, layout, sel >

Definition at line 318 of file grid_base_impl_layout.hpp.

Static Public Member Functions

template<unsigned int d>
static void setMemory (data_type &data_, Mem_type &m, size_t sz, bool np)
 
static void setMemoryArray (data_type &data_, Mem_type *m, size_t sz, bool np)
 

Member Function Documentation

◆ setMemory()

template<typename data_type , typename Mem_type , typename layout , unsigned int sel = 2*is_layout_mlin<layout>::value + is_layout_inte<layout>::value>
template<unsigned int d>
static void mem_setmemory< data_type, Mem_type, layout, sel >::setMemory ( data_type &  data_,
Mem_type &  m,
size_t  sz,
bool  np 
)
inlinestatic

Create and set the memory allocator

Allocate the memory and create the reppresentation

Definition at line 320 of file grid_base_impl_layout.hpp.

◆ setMemoryArray()

template<typename data_type , typename Mem_type , typename layout , unsigned int sel = 2*is_layout_mlin<layout>::value + is_layout_inte<layout>::value>
static void mem_setmemory< data_type, Mem_type, layout, sel >::setMemoryArray ( data_type &  data_,
Mem_type *  m,
size_t  sz,
bool  np 
)
inlinestatic

Create and set the memory allocator

Allocate the memory and create the reppresentation

Definition at line 329 of file grid_base_impl_layout.hpp.


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