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

Case memory_traits_lin. More...

Detailed Description

template<typename S, typename layout, typename data_type, typename g1_type, unsigned int sel = 2*is_layout_mlin<layout>::value + is_layout_inte<layout>::value>
struct mem_setm< S, layout, data_type, g1_type, sel >

Case memory_traits_lin.

Definition at line 109 of file grid_base_impl_layout.hpp.

#include <grid_base_impl_layout.hpp>

Static Public Member Functions

static void setMemory (data_type &data_, const g1_type &g1, bool &is_mem_init)
 

Member Function Documentation

◆ setMemory()

template<typename S , typename layout , typename data_type , typename g1_type , unsigned int sel = 2*is_layout_mlin<layout>::value + is_layout_inte<layout>::value>
static void mem_setm< S, layout, data_type, g1_type, sel >::setMemory ( data_type &  data_,
const g1_type &  g1,
bool &  is_mem_init 
)
inlinestatic

Create and set the memory allocator

Allocate the memory and create the representation

Definition at line 111 of file grid_base_impl_layout.hpp.


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