OpenFPM  5.2.0
Project that contain the implementation of distributed structures
setBackground_impl< aggrT_src, local_grids_type > Struct Template Reference

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

#include <grid_common.hpp>

Public Member Functions

 setBackground_impl (aggrT_src &bck, local_grids_type &loc_grid)
 
template<typename T >
void operator() (T &t)
 It call the copy function for each property.
 

Data Fields

aggrT_src & bck
 
local_grids_type & loc_grid
 

Detailed Description

template<typename aggrT_src, typename local_grids_type>
struct setBackground_impl< aggrT_src, local_grids_type >

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 call hostToDevice for each properties

Definition at line 22 of file grid_common.hpp.


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