this class is a functor for "for_each" algorithm More...
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.
#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 |
|
inline |
Definition at line 28 of file grid_common.hpp.
|
inline |
It call the copy function for each property.
Definition at line 34 of file grid_common.hpp.
aggrT_src& setBackground_impl< aggrT_src, local_grids_type >::bck |
Definition at line 24 of file grid_common.hpp.
local_grids_type& setBackground_impl< aggrT_src, local_grids_type >::loc_grid |
Definition at line 26 of file grid_common.hpp.