OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
mem_setext_prp< grid_type, data_type, S > Struct Template Reference

this class is a functor for "for_each" algorithm More...

Detailed Description

template<typename grid_type, typename data_type, typename S>
struct mem_setext_prp< grid_type, data_type, S >

this class is a functor for "for_each" algorithm

This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to set each property with external memory

Definition at line 165 of file grid_base_impl_layout.hpp.

#include <grid_base_impl_layout.hpp>

Public Member Functions

 mem_setext_prp (grid_type &g_new, grid_type &old, data_type &data_)
 constructor
 
template<typename T >
void operator() (T &t)
 It call the copy function for each property.
 

Data Fields

grid_typegrid_new
 
grid_typeold
 
data_type & data_
 

Constructor & Destructor Documentation

◆ mem_setext_prp()

template<typename grid_type , typename data_type , typename S >
mem_setext_prp< grid_type, data_type, S >::mem_setext_prp ( grid_type g_new,
grid_type old,
data_type &  data_ 
)
inline

constructor

Definition at line 178 of file grid_base_impl_layout.hpp.

Member Function Documentation

◆ operator()()

template<typename grid_type , typename data_type , typename S >
template<typename T >
void mem_setext_prp< grid_type, data_type, S >::operator() ( T &  t)
inline

It call the copy function for each property.

Definition at line 184 of file grid_base_impl_layout.hpp.

Field Documentation

◆ data_

template<typename grid_type , typename data_type , typename S >
data_type& mem_setext_prp< grid_type, data_type, S >::data_

Definition at line 171 of file grid_base_impl_layout.hpp.

◆ grid_new

template<typename grid_type , typename data_type , typename S >
grid_type& mem_setext_prp< grid_type, data_type, S >::grid_new

Definition at line 167 of file grid_base_impl_layout.hpp.

◆ old

template<typename grid_type , typename data_type , typename S >
grid_type& mem_setext_prp< grid_type, data_type, S >::old

Definition at line 169 of file grid_base_impl_layout.hpp.


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