OpenFPM  5.2.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...

#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_
 

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.


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