OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
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 More...
 
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.


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